what did you use for view layer with Go? whatever I could gather looking at the Go ecosystem it seems you have to go with a JS framework for view layer and write APIs in Go.

Rails' deep integration with view layer unlocks a great level of productivity.

Besides the built-in templates/html, there's also this https://github.com/a-h/templ Haven't used it yet, but seems promising