feat: 使用otter缓存替代buntdb,并借助context对除SQLITE以外的数据库进行细粒度缓存 #84
Annotations
10 errors and 1 warning
Test & Lint:
dice/model/database/cache/gormcache.go#L91
ineffectual assignment to err (ineffassign)
|
Test & Lint:
dice/model/engine_mysql.go#L132
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Test & Lint:
dice/model/engine_mysql.go#L150
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Test & Lint:
dice/model/engine_mysql.go#L168
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Test & Lint:
dice/model/engine_pgsql.go#L45
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Test & Lint:
dice/model/engine_pgsql.go#L62
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Test & Lint:
dice/model/engine_pgsql.go#L71
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Test & Lint:
dice/model/engine_sqlite.go#L133
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Test & Lint:
dice/model/engine_sqlite.go#L194
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Test & Lint:
dice/model/engine_sqlite.go#L228
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Test & Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|