I was reading about a new web framework called Pushup. It sounds like PHP for Go.
Pushup pages are a combination of HTML and Go, with a syntax that switches from HTML to Go for the special logic areas, such as loop over an array, list, a database connection, or calling an API. Then it’s condensed into one page, a file format called a .up file, and then Pushup compiles that into pure Go, which can be turned onto a web server and hosted.
There’s a place for server-side apps that don’t need the interactivity of JavaScript on the browser…We are building Pushup to make those kinds of sites easier.
The project home describes Pushup as “preview, pre-release software in early-stage development”. But I think it is worth taking a look at and giving feedback if you like the idea and would find Pushup useful.