MiSecurity / x-patrol

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

-bash: ./main: No such file or directory #8

Closed nmshuishui closed 6 years ago

nmshuishui commented 6 years ago

ubuntu 14.04,使用 ./main web启动的时候报下面错误 111

netxfly commented 6 years ago

只下了源码,还没有编译出可执行文件来?

nmshuishui commented 6 years ago

刚搞定GOPATH,现在编译报这样,导入不了那个包 111

netxfly commented 6 years ago

需要先go get 一下缺少的包,比如:

go get github.com/urfave/cli

通过上面的报错来看,gopath应该也没设置好。 可以先看看谢大的go教程的第一章,https://github.com/astaxie/build-web-application-with-golang/blob/master/zh/preface.md