go-concurrentMap
go-concurrentMap copied to clipboard
Add Key as an interface
对于key,能否设计出一个key的interface,比如:
type Key interface {
Hash() int
}
这样用户就可以自定义key的类型,这样也可以很好的扩展?