GitHub上下载的程序Build后报错

来源:3-2 开始一个Web程序

慕圣6277230

2018-07-26 16:58

报错内容:main.go:5:2: cannot find package "github.com/leeeboo/wechat/wx" in any of:
        D:\Go\src\github.com\leeeboo\wechat\wx (from $GOROOT)
        ($GOPATH not set)

写回答 关注

1回答

  • 南唐遗少
    2018-07-31 15:15:02
    已采纳

    cd 到 代码的根目录再进行编译

    慕圣6277...

    非常感谢!

    2018-08-20 05:45:34

    共 1 条回复 >

Go语言开发微信公众号

想用Go语言做微信公众号的开发么?

22661 学习 · 18 问题

查看课程

相似问题