This question already has an answer here:
Totally new golang user here and I don't see a CLI tool but just wanted to make sure I wasn't overlooking it. It appears everything just compiles down to a binary that you can run, even when debugging?
</div>
Yes there is, you can check it out here https://thenewstack.io/cli-command-line-programming-with-go/
Go does not have a CLI that must be used when invoking a application written in Go. There is a go command that is "... a suite of programs to build and process Go source code". You can find more information about this in the command documentation