Skip to content

Commit

Permalink
gofumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
anvari1313 committed Sep 10, 2024
1 parent fac7a4b commit f0d66f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func New(cfg Config) *zap.Logger {
}

core := zapcore.NewTee(cores...)
var zapOpts = make([]zap.Option, 0, 2)
zapOpts := make([]zap.Option, 0, 2)

Check failure on line 32 in internal/logger/logger.go

View workflow job for this annotation

GitHub Actions / lint

Magic number: 2, in <argument> detected (mnd)
zapOpts = append(zapOpts, zap.AddCaller())

Check warning on line 33 in internal/logger/logger.go

View check run for this annotation

Codecov / codecov/patch

internal/logger/logger.go#L32-L33

Added lines #L32 - L33 were not covered by tests

if cfg.Stacktrace {
Expand Down

0 comments on commit f0d66f0

Please sign in to comment.