go-macos¶
The macOS foundation, all of it CGO-free through purego: the shared Objective-C runtime bridge, real AppKit controls embedded in a Go-painted window, Keychain and Touch ID, notifications and menu-bar items, accessibility, global hotkeys, login items and launch agents, IOKit HID, DiskArbitration, hardware audio and video decode, ScreenCaptureKit capture, and virtual displays the desktop extends onto.
Part of the Desktop & widgets family of the
pure-Go ecosystem — 23 modules,
all CGO_ENABLED=0.
What is here¶
This site is the organisation's reference index: what each module is, and where its API documentation lives. The API itself is generated from the source and served by pkg.go.dev, which is always current with the released tags — duplicating it here would only create a second copy to go stale.
- Modules — every module in go-macos, with its source and its reference.
What every module here is held to¶
CGO_ENABLED=0: no cgo, and no shelling out to a command-line tool in place of a library.- Built and tested on amd64, arm64, riscv64, loong64, ppc64le and s390x — the last being big-endian, which keeps every on-disk and on-wire encoding honest.
- 100% statement coverage as a CI gate, error branches included.
- BSD-3-Clause.
The standard is described in full on the ecosystem map.