diff --git a/.golangci.yaml b/.golangci.yaml new file mode 100644 index 0000000..80dda2e --- /dev/null +++ b/.golangci.yaml @@ -0,0 +1,15 @@ +linters: + disable-all: true + enable: + - errcheck + - godot + - goimports + - gosimple + - govet + - ineffassign + - nilerr + - nilnil + - staticcheck + - typecheck + - unused + - usestdlibvars diff --git a/moon/moon.go b/moon/moon.go index 68484fb..4a83dca 100644 --- a/moon/moon.go +++ b/moon/moon.go @@ -171,7 +171,7 @@ func (cb ConstantBase) GetStartingPrice() float64 { return cb.StartingPrice } -// RelativeBase is a base that is relative, e.g. "90 days ago." +// RelativeBase is a base that is relative, e.g. "90 days ago". type RelativeBase struct { Name string `koanf:"name"` Offset time.Duration `koanf:"offset"`