In Linux we can load and execute any file with its executable bit set. Thanks to the linux kernel [binfmt_misc module][1] we can dynamically extend and add support for varaitey of executable formats directly from userspace using well defined and documented procfs interface.
We can achive this by making binary format descriptions for our .go files. To do this we need to ensure we have special binfmt_misc filesystem mounted to /proc/sys/fs/binfmt_misc.