報錯:go build command-line-arguments: build output "hello_world" already exists and is a directory

運行 go build時的小坑: 錯誤:go build command-line-arguments: build output "hello_world" already exists and is a directory 原因:源文件hello_world.go的文件名與包hello_world的包名相同,所以我在終端src目錄下運行: go build hello_word/hello_w
相關文章
相關標籤/搜索