Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
You can also write JS in Go with GopherJS, but if you don't fully understand the underlying JS webdev ecosystem, adding this extra layer of complexity is probably a really bad idea, at least at first.
You might get more out of the process just starting with this in mind and focusing on learning the JS web development ecosystem, e.g. something like webpack/rollup/vite and React, Angular, Vue, etc as a starting point. The number of choices can be overwhelming, but you can avoid a lot of them by starting with a framework that helps with these, like maybe start with Create React App and then slowly work on understanding everything it's doing. You could still use Go on the server, but Go would be a comparatively small and simple part of your app. This is closer to how most modern web design is occurring.