feat:add slog example #369
pr-check.yml
on: pull_request
compliant
17s
staticcheck
25s
Annotations
2 errors
staticcheck:
hlog/slog/main.go#L14
[staticcheck] reported by reviewdog 🐶
no required module provides package github.com/hertz-contrib/logger/slog; to add it:
go get github.com/hertz-contrib/logger/slog
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"no required module provides package github.com/hertz-contrib/logger/slog; to add it:\n\tgo get github.com/hertz-contrib/logger/slog","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"hlog/slog/main.go","range":{"start":{"line":14,"column":2}}},"severity":"ERROR"}
|
staticcheck
Process completed with exit code 1.
|