优化代码

This commit is contained in:
刘祥超
2022-09-18 16:18:31 +08:00
parent 64b1753c4d
commit a81d610302
19 changed files with 10 additions and 115 deletions

View File

@@ -2,13 +2,9 @@
package expires
import "sync"
type IdKeyMap struct {
idKeys map[int64]string // id => key
keyIds map[string]int64 // key => id
locker sync.Mutex
}
func NewIdKeyMap() *IdKeyMap {