打window包直接go build一下,完事,
但是,打linux包出现如下错误
..github.commattngo-isattyisatty_linux.go:7:8: cannot find package "golang.org/x/sys/unix" in any of:
解决办法:
git clone https://github.com/golang/sys.git
下载到gopath目录下的golang.orgxsys 即可