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
360 stars 55 forks source link

syntax error in the latest merge #21

Closed funkiestj closed 3 years ago

funkiestj commented 3 years ago

the latest merge has a syntax error

`$ go get github.com/chrusty/protoc-gen-jsonschema/cmd/protoc-gen-jsonschema

github.com/iancoleman/orderedmap

../../go/src/github.com/iancoleman/orderedmap/orderedmap.go:7:2: imported and not used: "strings" `

iancoleman commented 3 years ago

Thanks for catching this, not sure how I missed this because I ran tests but anyhow it's fixed with https://github.com/iancoleman/orderedmap/commit/14becf16b9098a21b0e61069479bc57510714514 and tagged as v0.1.2

Thanks again.

itchyny commented 3 years ago

Sorry about this, I noticed the issue while writing the patches but submitting multiple pull requests caused the tragedy.