golang switch got an ` used as value` error?
<p>I don't know really why <code>switch t := some.(type){}</code> works well, but if I tried  <code>switch k := f.Kind(){}</code> or so on.</p>

<pre><code>.\mym.go:58: k := f.Kind() used as value

exit status 2
</code></pre>