$ git clone https://github.com/nsqio/nsq $GOPATH/src/github.com/nsqio/nsq $ cd $GOPATH/src/github.com/nsqio/nsq $ dep ensure
修改makefile,主要指定目标机系统平台,并指定gcc编译器
$ make
$ git clone https://github.com/nsqio/nsq $GOPATH/src/github.com/nsqio/nsq $ cd $GOPATH/src/github.com/nsqio/nsq $ dep ensure
修改makefile,主要指定目标机系统平台,并指定gcc编译器
$ make