分类: MS 命令提示符

运行文件,Go 报错:exercise-maps.go:4:2: cannot find package "code.google.com/p/go-tour/wc" in any of: c:\go\src\code.google.com\p\go-tour\wc (from $GOROOT) C:\Users\Administrator\go\src\code.google.com\p\go-tour\wc (from $GOPATH) 0

运行 Go 报错:exercise-maps.go:4:2: cannot find package “code.google.com/p/go-tour/wc” in any of: c:\go\src\code.google.com\p\go-tour\wc (from $GOROOT) 的解决

1、查看 Go 文件:exercise-maps.go,代码如下 2...