Skip to content

Commit 56189bd

Browse files
committed
chore: hopefully shut linter up
1 parent 5c92f3a commit 56189bd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

config/options.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ import (
1616
"github.com/spf13/viper"
1717
)
1818

19+
// Define a static error
20+
var ErrInvalidDataType = errors.New("invalid data type, expected string")
21+
1922
type LogLevel log.Level
2023

2124
const (
@@ -43,10 +46,6 @@ func (ll *LogLevel) Level() log.Level {
4346
return (log.Level)(*ll)
4447
}
4548

46-
var (
47-
// Define a static error
48-
ErrInvalidDataType = errors.New("invalid data type, expected string")
49-
)
5049
func LogLevelDecodeHookFunc() mapstructure.DecodeHookFunc {
5150
return func(
5251
f reflect.Type,

0 commit comments

Comments
 (0)