慕容8287547
2018-05-15 14:07
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?
指定源文件编译就不会报错
GO语言语法入门篇
54132 学习 · 103 问题
相似问题