Problem scenario
You want to create bytecode using Golang. What do you do.
Solution
Prerequisite
Install Golang. If you need assistance, see this posting.
Procedures
Create a Go script that you can run with go run nameOfProgram.go
Run this: go build nameOfProgram.go
Run this: ./nameOfProgram