申明一个order map的类型:

type OrderMap struct {

  keys []interface{}

  m map[interface{}]interface{}  

}

keys中按顺序存放map的key

相关文章: