HeadlinesBriefing favicon HeadlinesBriefing.com

Gova: A Declarative GUI Framework for Go Developers

Hacker News •
×

Gova emerges as a declarative GUI framework for Go, enabling developers to build native desktop applications for macOS, Windows, and Linux from a single codebase. The framework leverages Fyne for cross-platform compatibility while maintaining a minimal footprint, with a default binary size of ~32 MB and stripped versions at ~23 MB. Unlike traditional GUI tools, Gova eliminates dependencies on JavaScript runtimes or embedded browsers, relying instead on cgo integrations for native dialogs like NSAlert and NSOpenPanel on macOS, with Fyne fallbacks elsewhere.

Its reactive state model operates through explicit Scopes, avoiding hidden schedulers or complex state management patterns. Developers benefit from hot reload functionality via the gova dev CLI, which rebuilds and relaunches applications on file changes while preserving UI state through persisted storage.