An ordered map (also called a linked hash map in Java) is a data structure that allows amortized O(1) for access and mutation just like a map, but the elements maintain their order. For this I created the github.com/elliotchance/orderedmap package. Here is some basic usage: import "github.com/elliotchance/orderedmap/v2"
func main() {…