title: How can I get information about type of a Go variable
body: <p>Suppose I have the following code in Go:</p>
  
  <pre><code>foo, bar := someFunc(baz) 
  </code></pre>
  
  <p>I would like to create a Vim function to check type of <code>foo</code> or <code>bar</code> when editing a file.</p>
  
  <p>Is there any tool or reliable source of information for functions from Go's packages I could use or? As for the functions declared in the file I'm editing I was thinking about simply parsing all the functions declared in that file.</p>