go build .(编译project)会报错
user:HelloProject user$ go build .
# HelloProject
./learn.go:32:6: main redeclared in this block
previous declaration at ./HelloWorld.go:11:6
./test.go:5:6: main redeclared in this block
previous declaration at ./learn.go:32:6
go语言中也是有类似的makefile的
谢谢,有没有类似C的makefile?
指定源文件编译就不会报错