Question: I have been setting up a small Hyperledger fabric application. It is already running and I can add delete and change users.

But until now I have been using nano to code until now. 

I want to change to a proper ide (goland) for the sake of autocompletion and so on.

The problem is: On my local machine it can not find the packages

```
"github.com/hyperledger/fabric/core/chaincode/shim"
"github.com/hyperledger/fabric/protos/peer"

```

The gopath is set up correctly but the two packages are not in the folders. I.e also a local go build does not work.

The packages are present on the CLI though.

How can I install the dependencies so that I also have them on my local machine? And is this even desired and if so why not?

ps: I have already tried 
`go get -u github.com/hyperledger/fabric/core/chaincode/shim`
the resulting error is:

`package github.com/hyperledger/fabric/core/chaincode/shim: cannot find package "github.com/hyperledger/fabric/core/chaincode/shim" in any of:
 /usr/local/go/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOROOT)
 /home/funuser/go/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOPATH)`

Answer: 
The issue is, the shim and protos were moved to stand-alone repositories several months ago, you need to do a `go get` on `github.com/hyperledger/fabric-chaincode-go/shim` and `github.com/hyperledger/fabric-protos-go` and change your import references to these new repos:

```
import (
   "fmt"
   "github.com/hyperledger/fabric-chaincode-go/shim"
   pb "github.com/hyperledger/fabric-protos-go/peer"
)

```
Unfortunately, `go get` only imports go code files. Other assets like the raw proto files are excluded. An option is to check-out the git repo in `$GOPATH/src/github.com/hyperledger/fabric`