新手环境报错,找不到包

code_sky · · 6168 次点击
不要直接`go run main.go`, 这会只编译运行`main.go`这一个文件,在目录下运行`go build`, 再运行生成的二进制文件
#1
更多评论
楼上正解,多谢。
#2