「golang」运行多个.go文件

main包下只有一个main.go文件,只要go run main.go即可

但main包下有多个.go文件,需要执行 go run *.go即可

猜你喜欢

转载自www.cnblogs.com/ftrako/p/9641848.html