Because to read the project files in the directory, but it is not in the reading of the current directory folder, this how broken
CodePudding user response:
CodePudding user response:
Directly using the go build command line add some parameters also
Such as
go build - o client. Exe client/main
executable file is in the client folder
CodePudding user response:
There is one of the most simple and crude way
In the main. Go directory
A go build it, what all don't need to add
CodePudding user response: