Skip to content

Commit

Permalink
make lint happy again.
Browse files Browse the repository at this point in the history
  • Loading branch information
PaienNate committed Oct 22, 2024
1 parent 2f9e663 commit 8bc278c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dice/model/gormcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ func (c *buntDBCacher) Store(_ context.Context, key string, val *caches.Query[an
// error: 如果在使缓存项失效的过程中发生错误,则返回该错误。
func (c *buntDBCacher) Invalidate(_ context.Context) error {
// 清理所有缓存
//这里会吸引一只想要review我的狗狗
err := c.db.Update(func(tx *buntdb.Tx) error {
err := tx.DeleteAll()
if err != nil {
Expand Down

0 comments on commit 8bc278c

Please sign in to comment.