Skip to content

🎨 format code style #4

🎨 format code style

🎨 format code style #4

Triggered via push May 10, 2023 11:36
Status Failure
Total duration 1m 35s
Artifacts

go.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
Test on go 1.18 and ubuntu-latest: cache_test.go#L158
[staticcheck] reported by reviewdog 🐶 this value of err is never used Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"this value of err is never used","code":{"value":"SA4006","url":"https://staticcheck.io/docs/checks#SA4006"},"location":{"path":"/home/runner/work/cacheit/cacheit/cache_test.go","range":{"start":{"line":158,"column":3}}},"severity":"ERROR"}
Test on go 1.18 and ubuntu-latest
Process completed with exit code 1.
Test on go 1.18 and windows-latest
The job was canceled because "ubuntu-latest_1_18" failed.
Test on go 1.20 and ubuntu-latest
The job was canceled because "ubuntu-latest_1_18" failed.
Test on go 1.20 and ubuntu-latest
The operation was canceled.
Test on go 1.18 and ubuntu-latest: cache.go#L1
should have a package comment
Test on go 1.18 and ubuntu-latest: go_cache.go#L18
exported method GoCacheDriver.Set should have comment or be unexported
Test on go 1.18 and ubuntu-latest: cache.go#L38
exported var ErrCacheMiss should have comment or be unexported
Test on go 1.18 and ubuntu-latest: go_cache.go#L23
exported method GoCacheDriver.SetMany should have comment or be unexported
Test on go 1.18 and ubuntu-latest: option.go#L8
exported type OptionFunc should have comment or be unexported
Test on go 1.18 and ubuntu-latest: cache.go#L88
exported function New should have comment or be unexported
Test on go 1.18 and ubuntu-latest: go_cache.go#L30
exported method GoCacheDriver.Many should have comment or be unexported
Test on go 1.18 and ubuntu-latest: go_cache.go#L43
exported method GoCacheDriver.Add should have comment or be unexported
Test on go 1.18 and ubuntu-latest: go_cache.go#L51
exported method GoCacheDriver.Forever should have comment or be unexported
Test on go 1.18 and ubuntu-latest: go_cache.go#L56
exported method GoCacheDriver.Forget should have comment or be unexported