datastar is backend agnostic - you generate the html however you want.

you can check out this repo if you want to see a simple golang implementation. https://github.com/zangster300/northstar

And all of the sdks have some simple examples. https://github.com/starfederation