Help us shape the future of Go! Take the 2026 Go Developer Survey

generate

command
v0.20.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

generate scans macOS SDK framework headers and emits Go bindings.

Sub-commands:

scan             — Clang → .gometa.json (metadata cache)
bindings         — .gometa.json → bindings/frameworks/ (purego ObjC) + bindings/libraries/ (CGo C)
class-hierarchy  — .gometa.json → metadata/objcclasshierarchy/objc_class_hierarchy_generated.go
all              — scan (optional) + bindings in sequence
list             — list all frameworks in the installed Xcode SDK
idiomatic        — emit opinionated idiomatic layer (Go-friendly wrappers)

Run any sub-command with -help for available flags.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL