update #1
Annotations
10 errors and 1 warning
lint:
coolq/api.go#L1098
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
lint:
coolq/bot.go#L367
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
lint:
utils/string.go#L1
package-comments: should have a package comment (revive)
|
lint:
utils/string.go#L5
exported: exported function B2S should have comment or be unexported (revive)
|
lint:
utils/string.go#L13
exported: exported function S2B should have comment or be unexported (revive)
|
lint:
utils/binary/utils.go#L14
exported: exported type GzipWriter should have comment or be unexported (revive)
|
lint:
utils/binary/utils.go#L23
exported: exported method GzipWriter.Close should have comment or be unexported (revive)
|
lint:
utils/binary/utils.go#L27
exported: exported method GzipWriter.Bytes should have comment or be unexported (revive)
|
lint:
utils/binary/writer.go#L14
exported: exported function NewWriterF should have comment or be unexported (revive)
|
lint:
utils/binary/pool.go#L47
exported: exported function AcquireGzipWriter should have comment or be unexported (revive)
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|