go 同包间函数调用出现‘undefine’问题 解决方法: 编译运行时手动包含关联引用的文件,如: go run xx.go main.go 如果懒点可以在main.go目录下执行: go run *.go