ai_scheduler/utils/utils_sys_cache/gods.go

15 lines
263 B
Go

package utils_sys_cache
import (
"github.com/emirpasic/gods/maps/hashmap"
"github.com/emirpasic/gods/maps/treemap"
)
func NewCacheHashMap() *hashmap.Map {
return hashmap.New()
}
func NewCacheTreeMap() *treemap.Map {
return treemap.NewWithIntComparator()
}