Open CoCoThink opened 6 years ago
https://github.com/dvyukov/go-fuzz/issues/120 https://stackoverflow.com/questions/36901658/error-non-standard-import-gopkg-in-yaml-v2-in-standard-package 在使用GO运行代码之前,需要设置你自己的GOPATH,你自己的go代码应该放到GOPATH中的src目录下面,不要放在go的安装目录的src下面
输出:
/usr/lib/go/src/go-jlu-drcom-client/conf/conf.go:7:2: non-standard import "github.com/BurntSushi/toml" in standard package "go-jlu-drcom-client/conf"
已经用go get github.com/BurntSushi/toml命令安装了toml