feat: LINE webhook #6
Annotations
10 errors
golangci-lint:
cmd/server/main.go#L9
import 'github.com/kyong0612/fitness-saporter/handler' is not allowed from list 'Main' (depguard)
|
golangci-lint:
cmd/server/main.go#L10
import 'github.com/kyong0612/fitness-saporter/infra/config' is not allowed from list 'Main' (depguard)
|
golangci-lint:
cmd/server/main.go#L23
Error return value of `http.ListenAndServe` is not checked (errcheck)
|
golangci-lint:
handler/handler.go#L6
import 'github.com/go-chi/chi' is not allowed from list 'Main' (depguard)
|
golangci-lint:
handler/handler.go#L7
import 'github.com/go-chi/chi/middleware' is not allowed from list 'Main' (depguard)
|
golangci-lint:
handler/handler.go#L11
variable name 'r' is too short for the scope of its usage (varnamelen)
|
golangci-lint:
handler/handler.go#L14
Error return value of `w.Write` is not checked (errcheck)
|
golangci-lint:
infra/config/env.go#L4
import 'github.com/caarlos0/env/v10' is not allowed from list 'Main' (depguard)
|
golangci-lint:
infra/config/env.go#L8
tag is not aligned, should be: env:"PORT" envDefault:"8080" (tagalign)
|
golangci-lint:
infra/config/env.go#L13
cfg is a global variable (gochecknoglobals)
|
The logs for this run have expired and are no longer available.
Loading