Skip to content

add nats queue,support default and jetstream mode #49

add nats queue,support default and jetstream mode

add nats queue,support default and jetstream mode #49

Triggered via pull request April 20, 2024 07:13
Status Failure
Total duration 49s
Artifacts

reviewdog.yml

on: pull_request
runner / staticcheck
41s
runner / staticcheck
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
runner / staticcheck: dq/producer.go#L37
[staticcheck] reported by reviewdog 🐶 rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. ","code":{"value":"SA1019","url":"https://staticcheck.io/docs/checks#SA1019"},"location":{"path":"/home/runner/work/go-queue/go-queue/dq/producer.go","range":{"start":{"line":37,"column":2}}},"severity":"ERROR"}
runner / staticcheck
Process completed with exit code 1.
runner / staticcheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/