Solved [Golang] ELF binary type "0" not known.

I have created a small program called VideoRobot in Go (golang) and cross compiled it for FreeBSD. Then I moved the resulting file to my FreeBSD machine and attempted to execute it.
First I did chmod +x ./VideoRobot
Then I did ./VideoRobot
And it gives me:
ELF binary type "0" not known.
./VideoRobot: Exec format error. Binary file not executable.

I'm not sure what to do next. Anyone has an idea?
Managed to find the problem myself. Apparently liteIDE compiles for Linux when I select FreeBSD. Interesting.