Sorry but we actually cheated on that part. Redid the page so that the function that is now in Go is a separate little service that is called via ajax directly by the users' browsers.
So there's no actual Python-Go interaction in our code.
This was quicker, cleaner and has made the page more responsive for users.