iancoleman / orderedmap

orderedmap is a golang map where the keys keep the order that they're added. It can be de/serialized from/to JSON. It's based closely on the python collections.OrderedDict.
MIT License
356 stars 55 forks source link

fixed issue #5, detail: #6

Closed fredwangwang closed 6 years ago

fredwangwang commented 6 years ago
  1. refactor the maptoOrderedmap
  2. added another test
fredwangwang commented 6 years ago

Eh, I edited too many things, going to resubmit the PR with a new branch