package
1.2.6
Repository: https://github.com/fufuok/utils.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

orderedmap

forked from iancoleman/orderedmap v0.3.0

A golang data type equivalent to python's collections.OrderedDict

Retains order of keys in maps

Can be JSON serialized / deserialized

Usage

example

Caveats

  • OrderedMap only takes strings for the key, as per the JSON spec.

Tests

go test

Alternatives

None of the alternatives offer JSON serialization.