How does go decide which file to load first?

Currently I compile and run my go programs like this…

go install ...
$GOPATH/bin/...

In the example above, how does GO decide which file to run first?

go didn’t decide about running programs. the OS do that.

is no need to add $GOPATH/bin/ before programs installed with go install. instead add $GOPATH/bin at your current path.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.