In go if need to sketch something and end having func main() in two files, you could ignore building one by adding at the top of the file:

// +build disable

This is a build constraint.

A build constraint, also known as a build tag, is a line comment that begins:

// +build