go 包管理根据vendor init报错

govendor init
Error: CreateFile src: The system cannot find the file specified.

解决方法:在D:\GO\gopath\src\test目录下面新建src目录,执行govendor init成功,当前目录下面会新生成一个vendor目录,下面有vendor.json文件;

posted @ 2019-10-16 16:11  沃德  阅读(1312)  评论(1)    收藏  举报