I'm afraid it cannot, since those functions would need to be compiled into WASM first, and that's something the browser can't do.
What I could add, though, is a bunch of "standard" functions (like the ones found in Hugo, for example).
Noted!
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