1. 查看 go 的工作目录
[root@VM-8-5-centos ttcp]# echo $GOPATH/root/go[root@VM-8-5-centos ttcp]# cd $GOPATH[root@VM-8-5-centos go]# pwd/root/go
2. 在 ./src/vendor 新建 github.com文件夹
[root@VM-8-5-centos src]# tree vendor/ -L 2vendor/|-- github.com| `-- chenshuo
3. 就可以在 go 程序中插入 github.com/...
import ("encoding/binary""github.com/chenshuo/muduo-examples-in-go/muduo")
