In Go, how do I check a value is of (any) pointer type?
<p>I have a slice of <code>interface{}</code> and I need to check whether this slice contains pointer field values.</p>

<p>Clarification example:</p>

<pre><code>var str *string
s := "foo"
str = &amp;s
var parms = []interface{}{"a",1233,"b",str}
index := getPointerIndex(parms)
fmt.Println(index) // should print 3
</code></pre>