Does it handle defining functions? I can’t get them to work.
What I could add, though, is a bunch of "standard" functions (like the ones found in Hugo, for example).
Noted!
I didn't say there is already a Go compiler that supports such workflow, rather that the infrastructure doesn't forbid it.
Haven’t tried the above, just an example. Tinygo is the one commonly used in the Wasm ecosystem