Closed wesen closed 1 year ago
@wk8 added!
@wesen thanks a lot!
Thanks for merging. If you want, I can set up my scaffold for releasing / testing using github actions, I've done it like 28x times in the last couple of months.
@wesen no worries, fixed a couple of things for tests in https://github.com/wk8/go-ordered-map/commit/85ca4a2b29d3241fa4513f82be3d38fe2392a791, and released a new version. Thanks!
cool! will you push it to pkg.go.dev (trying to bump a release on my dependency :)
v2.1.8 is there! thank you!
I've been using go-ordered-map for my go-go-golems ecosystem, and since most of the work I do is actually based on yaml, I decided to add ordered map serialization and deserialization from YAML.
I mostly copy-pasted the unit tests (and kept the JSON syntax for a fair amount of them).
The serialization and deserialization itself is very simple, as I basically just delegate the marshalling to the underlying yaml.Node.
Fuzzing and unit tests all run.