Go 7 package 包 导入的报必须在代码中使用,否则编译报错。或者: package main import ( _ "geometry/rectangle" // 现在暂时没有使用到 ) func main() { } package中首字母大写的函数才可以被调用。 package包的in Read More
posted @ 2021-03-27 16:45 gege4105 Views(62) Comments(0) Diggs(0)