Components as structs
Views are plain Go structs. Props are fields, defaults are zero values, and composition is just function calls. The compiler checks your UI.
Measured on macOS arm64 with Go 1.26.2, counter example, static build. Your numbers will vary by platform and feature set.
Gova compiles to macOS, Windows, and Linux from the same Go file. Platform integrations degrade to safe fallbacks so portable code stays portable.
The gova CLI ships alongside the framework. Install it with go install github.com/nv404/gova/cmd/gova@latest.
gova devWatch .go files in the working directory, rebuild on save, and relaunch the window. Ignores .git, node_modules, vendor, and _test.go.
gova buildProduce a static binary for the current platform. Pair with -ldflags "-s -w" to strip debug info for a smaller artifact.
gova runBuild and launch the app once, without file watching. Useful for CI smoke tests or one-off demos.
Go 1.26 or later, plus a C toolchain for cgo. On macOS: Xcode Command Line Tools. On Linux: build-essential and libgl1-mesa-dev. On Windows: mingw-w64.
Add gova to a new or existing Go module.
go mod init myapp
go get github.com/nv404/govaClone the repo and run the example directly. No scaffold, no boilerplate.
git clone https://github.com/nv404/gova
cd gova
go run ./examples/counter