Declarative Syntax Go-app uses a declarative syntax so you can write reusable component-based UI elements just by using the Go programming language. // A component that displays a Hello world by composing with HTML elements, // conditions, and binding. type hello struct { app.Compo name string } func (h *hello) Render() app.UI { return app.Div().Body( app.H1().Body( app.Text("Hello, "), app.If(h.n