title: spf13/cobra can't download binary to $GOPATH/bin
body: <p>I want to use spf13/cobra on my project.</p>
  <p><a href="https://github.com/spf13/cobra" rel="nofollow noreferrer">spf13/cobra: A Commander for modern Go CLI interactions</a></p>
  <p>typed install command result</p>
  <pre><code>$ go get -u github.com/spf13/cobra/cobra
  go: downloading github.com/spf13/cobra v1.0.0
  go: downloading github.com/spf13/cobra/cobra v0.0.0-20200826151851-02a0d2fbc9e6
  go: github.com/spf13/cobra/cobra upgrade =&gt; v0.0.0-20200826151851-02a0d2fbc9e6
  go get github.com/spf13/cobra/cobra: ambiguous import: found package github.com/spf13/cobra/cobra in multiple modules:
          github.com/spf13/cobra v1.0.0 (/go/pkg/mod/github.com/spf13/cobra@v1.0.0/cobra)
          github.com/spf13/cobra/cobra v0.0.0-20200826151851-02a0d2fbc9e6 (/go/pkg/mod/github.com/spf13/cobra/cobra@v0.0.0-20200826151851-02a0d2fbc9e6)
  </code></pre>
  <p>but not found <code>cobra</code> command and binary file.</p>
  <pre><code>$ cobra
  bash: cobra: command not found
  $ ls -la $GOPATH/bin | grep cobra
  // not found binary
  </code></pre>
  <p>this is my go env.</p>
  <pre><code>$ go env
  GO111MODULE=&quot;auto&quot;
  GOARCH=&quot;amd64&quot;
  GOBIN=&quot;&quot;
  GOCACHE=&quot;/home/vscode/.cache/go-build&quot;
  GOENV=&quot;/home/vscode/.config/go/env&quot;
  GOEXE=&quot;&quot;
  GOFLAGS=&quot;&quot;
  GOHOSTARCH=&quot;amd64&quot;
  GOHOSTOS=&quot;linux&quot;
  GOINSECURE=&quot;&quot;
  GOMODCACHE=&quot;/go/pkg/mod&quot;
  GONOPROXY=&quot;&quot;
  GONOSUMDB=&quot;&quot;
  GOOS=&quot;linux&quot;
  GOPATH=&quot;/go&quot;
  GOPRIVATE=&quot;&quot;
  GOPROXY=&quot;https://proxy.golang.org,direct&quot;
  GOROOT=&quot;/usr/local/go&quot;
  GOSUMDB=&quot;sum.golang.org&quot;
  GOTMPDIR=&quot;&quot;
  GOTOOLDIR=&quot;/usr/local/go/pkg/tool/linux_amd64&quot;
  GCCGO=&quot;gccgo&quot;
  AR=&quot;ar&quot;
  CC=&quot;gcc&quot;
  CXX=&quot;g++&quot;
  CGO_ENABLED=&quot;1&quot;
  GOMOD=&quot;/workspaces/[my-package-name]/go.mod&quot;
  CGO_CFLAGS=&quot;-g -O2&quot;
  CGO_CPPFLAGS=&quot;&quot;
  CGO_CXXFLAGS=&quot;-g -O2&quot;
  CGO_FFLAGS=&quot;-g -O2&quot;
  CGO_LDFLAGS=&quot;-g -O2&quot;
  PKG_CONFIG=&quot;pkg-config&quot;
  GOGCCFLAGS=&quot;-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build068490139=/tmp/go-build -gno-record-gcc-switches&quot;
  </code></pre>
  <p>and develop via container based on <a href="https://github.com/microsoft/vscode-remote-try-go" rel="nofollow noreferrer">microsoft/vscode-remote-try-go</a>.</p>
  <p>How can I do install binary to <code>$GOPATH/bin</code>?</p>