~repos /gromer
git clone
https://pyrossh.dev/repos/gromer.git
gromer is a framework and cli to build multipage web apps in golang using htmx and alpinejs.
file:
_example/containers/Error.go
package containers
import ( . "github.com/pyros2097/gromer/gsx")
func Error(c *Context, err error) []*Tag { c.Set("err", err.Error()) return c.Render(` <span class="Error"> <strong>Failed to load: {err}</strong> </span> `)}