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.
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.