I'm not a Go user, but is the important idea here that it can be run from a scriptingish environment like Jupyter or something?
Do any notebooks support a compiled language?
https://github.com/jupyter/jupyter/wiki/Jupyter-kernels will give you a more detailed list