feat: LINE webhook #5
lint.yml
on: pull_request
lint
43s
docker buildable
38s
Annotations
10 errors
lint:
cmd/server/main.go#L9
import 'github.com/kyong0612/fitness-saporter/handler' is not allowed from list 'Main' (depguard)
|
lint:
cmd/server/main.go#L10
import 'github.com/kyong0612/fitness-saporter/infra/config' is not allowed from list 'Main' (depguard)
|
lint:
cmd/server/main.go#L23
Error return value of `http.ListenAndServe` is not checked (errcheck)
|
lint:
handler/handler.go#L6
import 'github.com/go-chi/chi' is not allowed from list 'Main' (depguard)
|
lint:
handler/handler.go#L7
import 'github.com/go-chi/chi/middleware' is not allowed from list 'Main' (depguard)
|
lint:
handler/handler.go#L11
variable name 'r' is too short for the scope of its usage (varnamelen)
|
lint:
handler/handler.go#L14
Error return value of `w.Write` is not checked (errcheck)
|
lint:
infra/config/env.go#L4
import 'github.com/caarlos0/env/v10' is not allowed from list 'Main' (depguard)
|
lint:
infra/config/env.go#L8
tag is not aligned, should be: env:"PORT" envDefault:"8080" (tagalign)
|
lint:
infra/config/env.go#L13
cfg is a global variable (gochecknoglobals)
|