Developer Environment

We assume that you have go v1.8 or higher installed, and GOPATH is set.

Note:You must have your working copy under $GOPATH/src/

Since go does not use relative path for import, working in any other directory will have no effect, since the import paths will be appended to $GOPATH/src, and if the lib does not exist, the version at master HEAD will be downloaded.

Most likely you will be working from your fork of bytom, let's say from Clone or move your fork into the right place:

git clone $GOPATH/src/