title: Unexpected module path go-modules
body: <p>I have a repo on Github which just holds some Go structs to be used as models throughout my services.</p>
  
  <p><a href="https://github.com/pocockn/models" rel="nofollow noreferrer">https://github.com/pocockn/models</a></p>
  
  <p>I then want to import this into my services, I am using Go Modules in both repos. When I run 'go get' in my service I get the following error.</p>
  
  <blockquote>
    <p>go: finding github.com/pocockn/models/api/football latestgo: finding
    github.com/pocockn/models/api latest go: finding
    github.com/pocockn/models latest go:
    github.com/pocockn/models@v0.0.0-20190511152220-d7675ec24338: parsing
    go.mod: unexpected module path "models"</p>
  </blockquote>
  
  <p>My go.mod file in the models repo looks like this</p>
  
  <pre><code>module models
  
  go 1.12
  
  require github.com/jinzhu/gorm v1.9.8
  </code></pre>