申明一个order map的类型:
type OrderMap struct {
keys []interface{}
m map[interface{}]interface{}
}
keys中按顺序存放map的key
申明一个order map的类型:
type OrderMap struct {
keys []interface{}
m map[interface{}]interface{}
}
keys中按顺序存放map的key
转载于:https://www.cnblogs.com/xiaomayi-cyj/p/8638731.html