feat: kq support trace #57
reviewdog.yml
on: pull_request
runner / staticcheck
46s
Annotations
3 errors and 2 warnings
runner / staticcheck
[staticcheck] reported by reviewdog 🐶
# github.com/zeromicro/go-queue/example/kq/consumer
example/kq/consumer/queue.go:14:40: cannot use func(k, v string) error {…} (value of type func(k string, v string) error) as kq.ConsumeHandle value in argument to kq.WithHandle
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/zeromicro/go-queue/example/kq/consumer\nexample/kq/consumer/queue.go:14:40: cannot use func(k, v string) error {…} (value of type func(k string, v string) error) as kq.ConsumeHandle value in argument to kq.WithHandle","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
|
runner / staticcheck
[staticcheck] reported by reviewdog 🐶
# github.com/zeromicro/go-queue/example/kq/producer
example/kq/producer/produce.go:44:25: not enough arguments in call to pusher.Push
have (string)
want (context.Context, string)
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/zeromicro/go-queue/example/kq/producer\nexample/kq/producer/produce.go:44:25: not enough arguments in call to pusher.Push\n\thave (string)\n\twant (context.Context, string)","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
|
runner / staticcheck
Process completed with exit code 1.
|
runner / staticcheck
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
runner / staticcheck
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|