Go language: Change the build folder when running "go run" -
Using Go to Windows, whenever I go to Is there a way to configure it, so it will always create a file at a specific location, and preferably to avoid the randomness of the name? (I.e., always build on D: \ Temp \ LastBuild.exe.) I got some information that Any help is appreciated. Do not use A working perspective If you write a test in parallel with the implementation (and you want), then it Please see for more information on the same topic. / P> run myprog.go from the console Go builds is a new executable with a random name on my C drive.
go help run and
help create In the latter one output flag was
-o outfile but it was not accepted in the
go run .
. The snippet of code is aimed at instantly testing the size of screening lines.
create it .
Test .
Comments
Post a Comment