title: Usage of the `import` statement
body: <p>Can someone explain me how the <code>import</code> statement works ?</p>
  
  <p>For example I have a type <code>User</code> in the <code>myapp/app/models</code> package:</p>
  
  <pre><code>package models
  
  type User struct {
      // exportod fields
  }
  </code></pre>
  
  <p>I have a type <code>Users</code> in the <code>myapp/app/controllers</code> package:</p>
  
  <pre><code>package controllers
  
  import (
      _ "myapp/app/models"
      "github.com/revel/revel"
  )
  
  type Users struct {
      *revel.Controller
  }
  
  func (c Users) HandleSubmit(user *User) revel.Result {
      // Code here
  }
  </code></pre>
  
  <p>This gives me the following error:</p>
  
  <blockquote>
    <p><code>undefined: User</code></p>
  </blockquote>
  
  <p>I tried to change the imports to the following code:</p>
  
  <pre><code>import (
      . "advorts/app/models"
      "github.com/revel/revel"
  )
  </code></pre>
  
  <p>But get this error: </p>
  
  <blockquote>
    <p><code>undefined: "myapp/app/controllers".User</code></p>
  </blockquote>
  
  <p>Which I don't understand either. So, what is the difference between <code>import . "something"</code> and <code>import "something"</code> ? How to properly <code>import</code> my model in my case ?</p>