One - One Code All

Blog Content

找不到同目录下别的文件中声明的变量,在同一目录(package)下引用另一个文件里的变量,提示undefined

Go   2016-09-30 19:29:44

找不到同目录下别的文件中声明的变量,在同一目录(package)下引用另一个文件里的变量,提示undefined


解决:

目录下运行: go run *.go



上一篇:GO语言OpenCL库gocl
下一篇:goland,IntelliJ 激活码

The minute you think of giving up, think of the reason why you held on so long.