title: Is it possible to convert between structs?
body: <p>Lets say I have the following two structs</p>
  
  <pre><code>type Struct1 struct {
     name string
     details interface{}
  }
  
  type AddressDetails struct {
     street string
  }
  
  type StructDetails struct {
     Struct1
     details AddressDetails
  }
  </code></pre>
  
  <p>I get the input in JSON and I convert it into <code>Struct1</code>.  Now is it possible to convert this to <code>StructDetails</code> in golang without having to marshal and unmarshal again?  I tried this but I get an error</p>