title: Getting method parameter names
body: <p>Given the following Go method:</p>
  
  <pre><code>func (t *T) TMethod(data *testData) (interface{}, *error) {
      ...
  }
  </code></pre>
  
  <p>I want to reflect the name of the parameter (which is <code>data</code> here).</p>
  
  <p>I tried the following, but it returns the structure name (which is <code>testData</code> here):</p>
  
  <pre><code>reflect.ValueOf(T).MethodByName("TMethod").Type().In(0).Elem().Name()
  </code></pre>
  
  <p>How can I get the name of the parameter?</p>