title: Cannot find module providing package
body: <p>I'm not sure how to solve a dependency issue I'm finding with "go mod". From what I could gather, it's fetching the wrong version of some sub-dependency which points to a repo that doesn't exist anymore.</p>
  
  <p>I very very new to go so I'm sure I'm screwing up, I'd love some help to understand how to fix this. Please check these examples:</p>
  
  <p><strong>Getting my only dependency with go get works fine</strong></p>
  
  <pre><code>export GOPATH=`mktemp -d`
  export MYAPP=`mktemp -d`
  cd $MYAPP
  
  cat &lt;&lt; EOF &gt; main.go
  package main
  import (
    "fmt"
    "os"
    "github.com/kubernetes/minikube/pkg/storage"
  )
  func main() {
    if err := storage.StartStorageProvisioner(); err != nil {
      fmt.Printf("Error starting provisioner: %v\n", err)
      os.Exit(1)
    }
  }
  EOF
  
  go get github.com/kubernetes/minikube/pkg/storage
  go build &amp;&amp; echo "WORKED" || echo "FAILED"
  </code></pre>
  
  <p><strong>However, getting it with go mod doesn't work</strong></p>
  
  <pre><code>export GOPATH=`mktemp -d`
  export MYAPP=`mktemp -d`
  cd $MYAPP
  
  cat &lt;&lt; EOF &gt; main.go
  package main
  import (
    "fmt"
    "os"
    "github.com/kubernetes/minikube/pkg/storage"
  )
  func main() {
    if err := storage.StartStorageProvisioner(); err != nil {
      fmt.Printf("Error starting provisioner: %v\n", err)
      os.Exit(1)
    }
  }
  EOF
  
  go mod init github/my/repo
  go build &amp;&amp; echo "WORKED" || echo "FAILED"
  </code></pre>
  
  <p>How do I get this last one working?</p>
  
  <pre><code>$ go version
  go version go1.12 darwin/amd64
  </code></pre>