title: How to get map value by key without range action (htm/text templates)? Golang
body: <p>I try just to get map value without iteration through the map.</p>
  
  <p>For example, at the moment to get the map value by key this weird way:</p>
  
  <pre><code>{{range $key, $value := .mymap}}
      {{if $value = "myvalue"}}
          {{template "item" .}}
      {{end}}
  {{end}}
  </code></pre>
  
  <p>May be there is any better way just to get map value by key? For example:</p>
  
  <pre><code>{{print .mymap["key"]}} 
  </code></pre>