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

How do i use it in template? #3

Open dzpt opened 6 years ago

dzpt commented 6 years ago

{{range $i, $n := .columns.Get "ID"}}{{end}} Doesn't work then get error:

can't call method/function "Get" with 2 results