MiSecurity / x-patrol

github泄露扫描系统
1.15k stars 303 forks source link

error while running go-get #20

Closed rudrasingh99 closed 5 years ago

rudrasingh99 commented 5 years ago

Running go-get results in

root@bugdiscloseguy:~# go get github.com/MiSecurity/x-patrol package x-patrol/cmd: unrecognized import path "x-patrol/cmd" (import path does not begin with hostname)

netxfly commented 5 years ago

这种是仓库自有的,不用go get,先设置好GOPATH,然后mkdir -p $GOPATH/src,把代码放到src目录下就可以了