←back to thread

153 points yar-kravtsov | 1 comments | | HN request time: 0.195s | source

I built a Vite plugin that lets you write Go code directly in .js files using a "use golang" directive. It compiles to WebAssembly automatically.
Show context
tkzed49 ◴[] No.45719084[source]
Beautiful. Minor feedback: rather than having a "use golang" directive, just allow imports of .go files. This is more idiomatic for JS bundlers.
replies(4): >>45720617 #>>45720828 #>>45721171 #>>45727246 #
1. ◴[] No.45727246[source]