user@LAPTOP-9HJ1RCO2 MINGW64 ~/go/src/github.com/farkhad/hiphop (master)
$ go build
# github.com/farkhad/hiphop
.\hop.go:3:6: main redeclared in this block
previous declaration at .\hip.go:3:6
You can have multiple files in the same package, but you are not allowed to have the same function twice. You’ll need to rename one of the main functions to something else.
If though you want to have two different executables, you need to put them into different folders.