title: How to dump methods of structs in Golang?
body: <p>The Golang "<em>fmt</em>" package has a dump method called <code>Printf("%+v", anyStruct)</code>. I'm looking for any method to dump a struct <em>and its methods too</em>. </p>
  
  <p>For example:</p>
  
  <pre><code>type Foo struct {
      Prop string
  }
  func (f Foo)Bar() string {
      return f.Prop
  }
  </code></pre>
  
  <p>I want to check the existence of the <code>Bar()</code> method in an initialized instance of type <code>Foo</code> (not only properties).</p>
  
  <p>Is there any good way to do this?</p>