title: Assign struct with another struct
body: <p>I have a RegistrationRequest struct:</p>
  
  <pre><code>type RegistrationRequest struct {
      Email    *string
      Email2   *string        
      Username *string
      Password *string
      Name     string
  }
  </code></pre>
  
  <p>Where <code>Email2</code> is the email value entered again to verify that what the user entered is correct.</p>
  
  <p>I also have a User struct:</p>
  
  <pre><code>type User struct {
      Email    *string
      Username *string
      Password *string
      Name     string           
  }
  </code></pre>
  
  <p>Of course, there is no need to store <code>Email2</code> beyond registration.</p>
  
  <p>So I have two variables: <code>req</code> and <code>u</code> - one for each struct. Is it possible to assign the <code>req</code> struct into to the <code>u</code> struct so that all the common fields will exist in the <code>u</code> struct?</p>