fix: modify the usage of the logger #43
Annotations
10 errors and 1 warning
golangci-lint:
pkg/client/cache.go#L13
undefined: redis (typecheck)
|
golangci-lint:
pkg/client/cache.go#L18
undefined: redis (typecheck)
|
golangci-lint:
pkg/utils/snowflake.go#L49
s.Lock undefined (type *Snowflake has no field or method Lock) (typecheck)
|
golangci-lint:
pkg/utils/snowflake.go#L67
s.Unlock undefined (type *Snowflake has no field or method Unlock) (typecheck)
|
golangci-lint:
pkg/utils/snowflake.go#L72
s.Unlock undefined (type *Snowflake has no field or method Unlock) (typecheck)
|
golangci-lint:
cmd/classroom/dal/cache/init.go#L10
undefined: redis (typecheck)
|
golangci-lint:
pkg/tracer/tracer.go#L28
undefined: jaeger (typecheck)
|
golangci-lint:
pkg/tracer/tracer.go#L36
undefined: opentracing (typecheck)
|
golangci-lint:
cmd/template/main.go#L32
undefined: elasticsearch (typecheck)
|
golangci-lint:
cmd/template/main.go#L115
undefined: elasticsearch (typecheck)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading