If my .go files (all files declared as main mackage) lays in the root of project folder, then
go build
does nothing but threre are no errors in terminal
and if my .go files (all files declared as main mackage) lays in main folder, then if I run go build
it produces executable in the main folder.
Whats wrong with first way of using go build
?