Show HN: Go Template Preview – Powered by WebAssembly
gotemplate.io
gotemplate.io
Binary size is the main issue with Go WASM, the binary on this is 4MB, and it only does templating.
TinyGo won't work because it doesn't have reflect (which I need for parsing arbitrary JSON).
But I'll give it a spin. Thanks!
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
First of all, I really interested with this project and I see there is a room for improvement, mind to open source the code?
thanks randomguy011