如何通过不带范围操作的键(htm /文本模板)获取地图值? Golang

I try just to get map value without iteration through the map.

For example, at the moment to get the map value by key this weird way:

{{range $key, $value := .mymap}}
    {{if $value = "myvalue"}}
        {{template "item" .}}
    {{end}}
{{end}}

May be there is any better way just to get map value by key? For example:

{{print .mymap["key"]}} 

Use index to get a value from a map:

{{index .mymap "key"}}

playground example