title: How to cast interface{} back into its original struct?
body: <p>I need a way to dynamically cast a struct/interface back to its original object.
  I can add methods / functions inside. basically I need something like this:</p>
  
  <pre><code>MyStruct  =&gt;  Interface{}  =&gt; MyStruct
  </code></pre>
  
  <p>When on the final conversion I don't know anything about the original struct besides what come inside the struct, so I can't just so:</p>
  
  <pre><code>a.(MyStruct)
  </code></pre>