The go build command compiles your code into an executable file. Run go build in your project directory to create a binary named after your module.
The executable is a standalone file. You can copy it to another machine with the same operating system and run it without installing Go. This is one of Go's strengths for deployment. One binary, no dependencies.