{"by":"yar-kravtsov","descendants":47,"id":45717724,"kids":[45719084,45718495,45723621,45725290,45718429,45719106,45720841,45718527,45721708,45719276,45718335,45718833,45718871,45718496,45721437,45721962,45718394],"score":158,"text":"I built a Vite plugin that lets you write Go code directly in .js files using a &quot;use\n  golang&quot; directive. It compiles to WebAssembly automatically.","time":1761543373,"title":"Show HN: Write Go code in JavaScript files","type":"story","url":"https://www.npmjs.com/package/vite-plugin-use-golang"}