Compiles to Go or transpiles to Go?

Either is fine.

``Formally speaking, "Transpiler" is a useless word''

https://people.csail.mit.edu/rachit/post/transpiler-formal/

You are free to use whatever word you want. Even "bloopydoopy", if you so wish. But "compiles" is best.