Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package accelerate provides Go bindings for the Accelerate framework.
|
Package accelerate provides Go bindings for the Accelerate framework. |
|
Package appkit provides Go bindings for the AppKit framework.
|
Package appkit provides Go bindings for the AppKit framework. |
|
Package avfaudio provides Go bindings for the AVFAudio framework.
|
Package avfaudio provides Go bindings for the AVFAudio framework. |
|
Hand-written bindings for methods not generated by applegen.
|
Hand-written bindings for methods not generated by applegen. |
|
Package coreaudio provides Go bindings for the CoreAudio framework.
|
Package coreaudio provides Go bindings for the CoreAudio framework. |
|
Package corefoundation provides Go bindings for the CoreFoundation framework.
|
Package corefoundation provides Go bindings for the CoreFoundation framework. |
|
Package coregraphics provides Go bindings for the CoreGraphics framework.
|
Package coregraphics provides Go bindings for the CoreGraphics framework. |
|
Package coreimage provides Go bindings for the CoreImage framework.
|
Package coreimage provides Go bindings for the CoreImage framework. |
|
Package coremedia provides Go bindings for the CoreMedia framework.
|
Package coremedia provides Go bindings for the CoreMedia framework. |
|
Package coremediaio provides Go bindings for the CoreMediaIO framework.
|
Package coremediaio provides Go bindings for the CoreMediaIO framework. |
|
Package coreml provides Go bindings for the CoreML framework.
|
Package coreml provides Go bindings for the CoreML framework. |
|
Package coreservices provides Go bindings for the coreservices framework.
|
Package coreservices provides Go bindings for the coreservices framework. |
|
Package corevideo provides Go bindings for the CoreVideo framework.
|
Package corevideo provides Go bindings for the CoreVideo framework. |
|
Package diskarbitration provides Go bindings for the DiskArbitration framework.
|
Package diskarbitration provides Go bindings for the DiskArbitration framework. |
|
Package dispatch provides Go bindings for the Dispatch framework.
|
Package dispatch provides Go bindings for the Dispatch framework. |
|
Package endpointsecurity provides Go bindings for the EndpointSecurity framework.
|
Package endpointsecurity provides Go bindings for the EndpointSecurity framework. |
|
examples
|
|
|
accelerate/matmul
command
Command matmul benchmarks matrix multiplication using Apple Accelerate BLAS (cblas_sgemm) versus a naive pure-Go implementation.
|
Command matmul benchmarks matrix multiplication using Apple Accelerate BLAS (cblas_sgemm) versus a naive pure-Go implementation. |
|
appkit/alert
command
Alert shows a native macOS alert dialog from the command line.
|
Alert shows a native macOS alert dialog from the command line. |
|
appkit/alert-dialog
command
Command alert-dialog shows the smallest NSAlert example in this tree.
|
Command alert-dialog shows the smallest NSAlert example in this tree. |
|
appkit/counter
command
Command counter displays a small AppKit window with a label and two buttons.
|
Command counter displays a small AppKit window with a label and two buttons. |
|
appkit/file-picker
command
Command file-picker opens an NSOpenPanel and prints the selected paths.
|
Command file-picker opens an NSOpenPanel and prints the selected paths. |
|
appkit/hello-window
command
Command hello-window opens a macOS window with one centered label.
|
Command hello-window opens a macOS window with one centered label. |
|
appkit/menubar-clock
command
Command menubar-clock shows the current time in the macOS menu bar.
|
Command menubar-clock shows the current time in the macOS menu bar. |
|
appkit/pbd
command
Pbd is a pasteboard tool, an improvement over pbcopy/pbpaste.
|
Pbd is a pasteboard tool, an improvement over pbcopy/pbpaste. |
|
appkit/sf-symbols
command
Command sf-symbols shows a small grid of SF Symbols in an AppKit window.
|
Command sf-symbols shows a small grid of SF Symbols in an AppKit window. |
|
appkit/todo-app
command
Command todo-app builds a small multi-window todo list in AppKit.
|
Command todo-app builds a small multi-window todo list in AppKit. |
|
avfaudio/audiosay
command
Command audiosay speaks text using Apple's speech synthesis APIs.
|
Command audiosay speaks text using Apple's speech synthesis APIs. |
|
avfoundation/audiomix
command
Command audiomix demonstrates editing audio with AVAudioMix.
|
Command audiomix demonstrates editing audio with AVAudioMix. |
|
coreimage/imgfilter
command
Command imgfilter processes images using Apple's CoreImage framework.
|
Command imgfilter processes images using Apple's CoreImage framework. |
|
coreml/predict
command
Command predict loads a CoreML model and prints its description as JSON.
|
Command predict loads a CoreML model and prints its description as JSON. |
|
dispatch/parallel-work
command
Parallel-work dispatches concurrent tasks using GCD groups and semaphores.
|
Parallel-work dispatches concurrent tasks using GCD groups and semaphores. |
|
dispatch/queues
command
Command queues demonstrates a serial queue, a group, and a semaphore.
|
Command queues demonstrates a serial queue, a group, and a semaphore. |
|
foundation/http-fetch
command
Command http-fetch downloads a URL with Foundation and prints a short preview.
|
Command http-fetch downloads a URL with Foundation and prints a short preview. |
|
foundation/nsdefaults
command
Command nsdefaults reads and writes NSUserDefaults values.
|
Command nsdefaults reads and writes NSUserDefaults values. |
|
foundation/process-info
command
Command process-info prints basic details about the current process.
|
Command process-info prints basic details about the current process. |
|
foundation/sysinfo
command
Command sysinfo prints system information and optionally lists running applications.
|
Command sysinfo prints system information and optionally lists running applications. |
|
foundation/user-defaults
command
Command user-defaults shows a small round-trip through NSUserDefaults.
|
Command user-defaults shows a small round-trip through NSUserDefaults. |
|
foundation/uuid-date
command
Command uuid-date prints the current NSDate and a freshly generated NSUUID.
|
Command uuid-date prints the current NSDate and a freshly generated NSUUID. |
|
metal/metal4-triangle
command
metal4-triangle renders a rotating triangle using the Metal 4 API.
|
metal4-triangle renders a rotating triangle using the Metal 4 API. |
|
naturallanguage/embedding
command
Command embedding computes word distances and nearest neighbors using Apple's NaturalLanguage word embeddings.
|
Command embedding computes word distances and nearest neighbors using Apple's NaturalLanguage word embeddings. |
|
naturallanguage/ngrep
command
Command ngrep searches lines for semantic similarity to a query using Apple's NaturalLanguage embeddings — a neural alternative to grep.
|
Command ngrep searches lines for semantic similarity to a query using Apple's NaturalLanguage embeddings — a neural alternative to grep. |
|
naturallanguage/nlp
command
Command nlp provides Unix-native text analysis using Apple's NaturalLanguage framework.
|
Command nlp provides Unix-native text analysis using Apple's NaturalLanguage framework. |
|
naturallanguage/nsort
command
Command nsort sorts lines by semantic similarity using Apple's NaturalLanguage sentence embeddings — a neural alternative to Unix sort.
|
Command nsort sorts lines by semantic similarity using Apple's NaturalLanguage sentence embeddings — a neural alternative to Unix sort. |
|
objc/exception-handler
command
Exception-handler demonstrates Objective-C exception handling from Go.
|
Exception-handler demonstrates Objective-C exception handling from Go. |
|
screencapturekit/screenshot
command
Command screenshot captures a screenshot of a display or window using the ScreenCaptureKit framework and saves it as a PNG file.
|
Command screenshot captures a screenshot of a display or window using the ScreenCaptureKit framework and saves it as a PNG file. |
|
screencapturekit/windowlist
command
Command windowlist enumerates all windows, displays, and running applications using the ScreenCaptureKit framework and outputs the results as JSON.
|
Command windowlist enumerates all windows, displays, and running applications using the ScreenCaptureKit framework and outputs the results as JSON. |
|
security/keychain
command
Command keychain demonstrates macOS Security framework keychain operations using the generated security and corefoundation bindings.
|
Command keychain demonstrates macOS Security framework keychain operations using the generated security and corefoundation bindings. |
|
uniformtypeidentifiers/file-types
command
Command file-types shows a few common Uniform Type Identifier lookups.
|
Command file-types shows a few common Uniform Type Identifier lookups. |
|
uniformtypeidentifiers/typeid
command
Command typeid resolves Uniform Type Identifiers for file extensions, MIME types, and UTI strings.
|
Command typeid resolves Uniform Type Identifiers for file extensions, MIME types, and UTI strings. |
|
virtualization/vminfo
command
Command vminfo queries Apple Virtualization framework capabilities.
|
Command vminfo queries Apple Virtualization framework capabilities. |
|
vision/face-detect
command
Face-detect uses the Vision framework to detect faces in an image.
|
Face-detect uses the Vision framework to detect faces in an image. |
|
vision/ocr
command
Command ocr extracts text from an image file using the Vision framework.
|
Command ocr extracts text from an image file using the Vision framework. |
|
vision/screenctx
command
Command screenctx captures screen context by combining CGWindowListCopyWindowInfo with Vision OCR to produce an XML map of on-screen text attributed to the owning application.
|
Command screenctx captures screen context by combining CGWindowListCopyWindowInfo with Vision OCR to produce an XML map of on-screen text attributed to the owning application. |
|
vision/vndetect
command
Command vndetect detects objects in images using the Vision framework.
|
Command vndetect detects objects in images using the Vision framework. |
|
vision/vnocr
command
Command vnocr extracts text from images using the Vision framework.
|
Command vnocr extracts text from images using the Vision framework. |
|
Package foundation provides Go bindings for the Foundation framework.
|
Package foundation provides Go bindings for the Foundation framework. |
|
Package iokit provides Go bindings for the iokit framework.
|
Package iokit provides Go bindings for the iokit framework. |
|
Package iosurface provides Go bindings for the IOSurface framework.
|
Package iosurface provides Go bindings for the IOSurface framework. |
|
Package kernel provides Go bindings for the kernel framework.
|
Package kernel provides Go bindings for the kernel framework. |
|
Package metal provides Go bindings for the Metal framework.
|
Package metal provides Go bindings for the Metal framework. |
|
Package metalkit provides Go bindings for the MetalKit framework.
|
Package metalkit provides Go bindings for the MetalKit framework. |
|
Package naturallanguage provides Go bindings for the NaturalLanguage framework.
|
Package naturallanguage provides Go bindings for the NaturalLanguage framework. |
|
Package networkextension provides Go bindings for the NetworkExtension framework.
|
Package networkextension provides Go bindings for the NetworkExtension framework. |
|
Package objc provides cached Objective-C runtime helpers.
|
Package objc provides cached Objective-C runtime helpers. |
|
Package objectivec provides Go bindings for the ObjectiveC framework.
|
Package objectivec provides Go bindings for the ObjectiveC framework. |
|
Package pdfkit provides Go bindings for the PDFKit framework.
|
Package pdfkit provides Go bindings for the PDFKit framework. |
|
Package private contains the generated code for the private frameworks of Apple MacOS.
|
Package private contains the generated code for the private frameworks of Apple MacOS. |
|
appleneuralengine
Package appleneuralengine provides Go bindings for the appleneuralengine framework.
|
Package appleneuralengine provides Go bindings for the appleneuralengine framework. |
|
avfaudio
Package avfaudio provides Go bindings for the AVFAudio framework.
|
Package avfaudio provides Go bindings for the AVFAudio framework. |
|
coreml
Package coreml provides Go bindings for the CoreML framework.
|
Package coreml provides Go bindings for the CoreML framework. |
|
diskimages2
Package diskimages2 provides Go bindings for the diskimages2 framework.
|
Package diskimages2 provides Go bindings for the diskimages2 framework. |
|
espresso
Package espresso provides Go bindings for the espresso framework.
|
Package espresso provides Go bindings for the espresso framework. |
|
hiservices
Package hiservices provides Go bindings for the hiservices framework.
|
Package hiservices provides Go bindings for the hiservices framework. |
|
remotecoreml
Package remotecoreml provides Go bindings for the remotecoreml framework.
|
Package remotecoreml provides Go bindings for the remotecoreml framework. |
|
speechobjects
Package speechobjects provides Go bindings for the speechobjects framework.
|
Package speechobjects provides Go bindings for the speechobjects framework. |
|
texttospeech
Package texttospeech provides Go bindings for the texttospeech framework.
|
Package texttospeech provides Go bindings for the texttospeech framework. |
|
virtualization
Package virtualization provides Go bindings for the Virtualization framework.
|
Package virtualization provides Go bindings for the Virtualization framework. |
|
xcode
Package xcode contains generated bindings for private frameworks shipped inside Xcode.app and its plug-ins.
|
Package xcode contains generated bindings for private frameworks shipped inside Xcode.app and its plug-ins. |
|
xcode/gtshaderprofiler
Package gtshaderprofiler provides Go bindings for the gtshaderprofiler framework.
|
Package gtshaderprofiler provides Go bindings for the gtshaderprofiler framework. |
|
Package quartzcore provides Go bindings for the QuartzCore framework.
|
Package quartzcore provides Go bindings for the QuartzCore framework. |
|
Package screencapturekit provides Go bindings for the ScreenCaptureKit framework.
|
Package screencapturekit provides Go bindings for the ScreenCaptureKit framework. |
|
Package security provides Go bindings for the Security framework.
|
Package security provides Go bindings for the Security framework. |
|
Package servicemanagement provides Go bindings for the ServiceManagement framework.
|
Package servicemanagement provides Go bindings for the ServiceManagement framework. |
|
Package symbols provides Go bindings for the Symbols framework.
|
Package symbols provides Go bindings for the Symbols framework. |
|
Package systemextensions provides Go bindings for the SystemExtensions framework.
|
Package systemextensions provides Go bindings for the SystemExtensions framework. |
|
Package uniformtypeidentifiers provides Go bindings for the UniformTypeIdentifiers framework.
|
Package uniformtypeidentifiers provides Go bindings for the UniformTypeIdentifiers framework. |
|
Package usernotifications provides Go bindings for the UserNotifications framework.
|
Package usernotifications provides Go bindings for the UserNotifications framework. |
|
Package virtualization provides Go bindings for the Virtualization framework.
|
Package virtualization provides Go bindings for the Virtualization framework. |
|
Package vision provides Go bindings for the Vision framework.
|
Package vision provides Go bindings for the Vision framework. |
|
Package vmnet provides Go bindings for the vmnet framework.
|
Package vmnet provides Go bindings for the vmnet framework. |
|
Package webkit provides Go bindings for the WebKit framework.
|
Package webkit provides Go bindings for the WebKit framework. |
|
x
|
|
|
ane
Package ane provides high-level access to the Apple Neural Engine.
|
Package ane provides high-level access to the Apple Neural Engine. |
|
ane/dynamicmatmul
Package dynamicmatmul provides compile-once ANE matmul kernels with runtime-provided weights.
|
Package dynamicmatmul provides compile-once ANE matmul kernels with runtime-provided weights. |
|
ane/linear
Package linear provides reusable ANE-backed linear forward execution.
|
Package linear provides reusable ANE-backed linear forward execution. |
|
ane/mil
Package mil generates MIL (Model Intermediate Language) programs and weight blobs for Apple Neural Engine compilation.
|
Package mil generates MIL (Model Intermediate Language) programs and weight blobs for Apple Neural Engine compilation. |
|
ane/telemetry
Package telemetry provides diagnostic and performance measurement types for the Apple Neural Engine.
|
Package telemetry provides diagnostic and performance measurement types for the Apple Neural Engine. |
|
axuiautomation
Package axuiautomation provides XCUIAutomation-style interfaces for macOS accessibility automation.
|
Package axuiautomation provides XCUIAutomation-style interfaces for macOS accessibility automation. |
|
coremlcompiler
Package coremlcompiler compiles CoreML model packages (.mlpackage) into compiled model bundles (.mlmodelc) without requiring xcrun or Apple's proprietary coremlcompiler binary.
|
Package coremlcompiler compiles CoreML model packages (.mlpackage) into compiled model bundles (.mlmodelc) without requiring xcrun or Apple's proprietary coremlcompiler binary. |
|
coremlconfig
Package coremlconfig provides compute plan analysis and model configuration for CoreML models.
|
Package coremlconfig provides compute plan analysis and model configuration for CoreML models. |
|
coremlruntime
Package coremlruntime wraps private CoreML runtime entry points that are useful when working with compiled models, stateful prediction, and client-supplied output backings.
|
Package coremlruntime wraps private CoreML runtime entry points that are useful when working with compiled models, stateful prediction, and client-supplied output backings. |
|
espresso
Package espresso provides high-level access to Apple's Espresso neural network execution framework with multi-backend support (CPU, GPU, ANE).
|
Package espresso provides high-level access to Apple's Espresso neural network execution framework with multi-backend support (CPU, GPU, ANE). |
|
plist
Package plist provides plist parsing and writing for Apple configuration files.
|
Package plist provides plist parsing and writing for Apple configuration files. |
|
vzkit
Package vzkit provides shared infrastructure for building macOS and Linux virtual machines using Apple's Virtualization framework via purego.
|
Package vzkit provides shared infrastructure for building macOS and Linux virtual machines using Apple's Virtualization framework via purego. |
|
vzkit/audio
Package audio provides sound device helpers for Apple Virtualization VMs.
|
Package audio provides sound device helpers for Apple Virtualization VMs. |
|
vzkit/balloon
Package balloon provides memory balloon helpers for running virtual machines.
|
Package balloon provides memory balloon helpers for running virtual machines. |
|
vzkit/capture
Package capture provides image conversion and processing utilities for VM screenshot workflows.
|
Package capture provides image conversion and processing utilities for VM screenshot workflows. |
|
vzkit/clipboard
Package clipboard configures host-guest clipboard sharing via SPICE agent.
|
Package clipboard configures host-guest clipboard sharing via SPICE agent. |
|
vzkit/configcodec
Package configcodec provides virtual machine configuration encoding helpers.
|
Package configcodec provides virtual machine configuration encoding helpers. |
|
vzkit/debugstub
Package debugstub provides debug stub configuration helpers.
|
Package debugstub provides debug stub configuration helpers. |
|
vzkit/disk
Package disk provides helpers for managing macOS disk images via hdiutil.
|
Package disk provides helpers for managing macOS disk images via hdiutil. |
|
vzkit/display
Package display provides display specifications and graphics device builders for Virtualization framework guests.
|
Package display provides display specifications and graphics device builders for Virtualization framework guests. |
|
vzkit/exp
Package exp contains experimental wrappers for private or unstable Virtualization.framework features.
|
Package exp contains experimental wrappers for private or unstable Virtualization.framework features. |
|
vzkit/exp/accelerator
Package accelerator provides experimental accelerator device helpers.
|
Package accelerator provides experimental accelerator device helpers. |
|
vzkit/exp/biometric
Package biometric provides experimental biometric device configuration helpers.
|
Package biometric provides experimental biometric device configuration helpers. |
|
vzkit/exp/custommmio
Package custommmio provides experimental custom MMIO device helpers.
|
Package custommmio provides experimental custom MMIO device helpers. |
|
vzkit/exp/customvirtio
Package customvirtio provides experimental custom Virtio device helpers.
|
Package customvirtio provides experimental custom Virtio device helpers. |
|
vzkit/exp/mailbox
Package mailbox provides experimental mailbox device helpers.
|
Package mailbox provides experimental mailbox device helpers. |
|
vzkit/exp/power
Package power provides experimental power source device helpers.
|
Package power provides experimental power source device helpers. |
|
vzkit/framebuffer
Package framebuffer provides direct framebuffer access and capture helpers.
|
Package framebuffer provides direct framebuffer access and capture helpers. |
|
vzkit/input
Package input provides CGEvent-based keyboard and mouse input helpers.
|
Package input provides CGEvent-based keyboard and mouse input helpers. |
|
vzkit/network
Package network provides network configuration helpers for Apple Virtualization virtual machines.
|
Package network provides network configuration helpers for Apple Virtualization virtual machines. |
|
vzkit/ocr
Package ocr provides text recognition using Apple's Vision framework.
|
Package ocr provides text recognition using Apple's Vision framework. |
|
vzkit/privatevm
Package privatevm provides focused wrappers for private Virtualization.framework VM selectors.
|
Package privatevm provides focused wrappers for private Virtualization.framework VM selectors. |
|
vzkit/restore
Package restore provides helpers for working with macOS restore images.
|
Package restore provides helpers for working with macOS restore images. |
|
vzkit/snapshot
Package snapshot provides VM state snapshot helpers.
|
Package snapshot provides VM state snapshot helpers. |
|
vzkit/spice
Package spice provides SPICE agent integration helpers.
|
Package spice provides SPICE agent integration helpers. |
|
vzkit/storage
Package storage provides common storage and serial-console helpers for Apple Virtualization VMs.
|
Package storage provides common storage and serial-console helpers for Apple Virtualization VMs. |
|
vzkit/storagehotplug
Package storagehotplug provides runtime storage device management.
|
Package storagehotplug provides runtime storage device management. |
|
vzkit/usbhid
Package usbhid provides safe HID input event helpers for Apple Virtualization framework virtual machines.
|
Package usbhid provides safe HID input event helpers for Apple Virtualization framework virtual machines. |
|
vzkit/usbpassthrough
Package usbpassthrough provides runtime USB passthrough helpers.
|
Package usbpassthrough provides runtime USB passthrough helpers. |
|
vzkit/virtiofs
Package virtiofs provides VirtioFS configuration helpers for Apple Virtualization VMs.
|
Package virtiofs provides VirtioFS configuration helpers for Apple Virtualization VMs. |
|
vzkit/vm
Package vm provides the core runtime helpers for Apple Virtualization VMs.
|
Package vm provides the core runtime helpers for Apple Virtualization VMs. |
|
vzkit/vminput
Package vminput provides direct virtual-machine input injection helpers.
|
Package vminput provides direct virtual-machine input injection helpers. |
|
vzkit/vnc
Package vnc provides headless remote display serving for virtual machines.
|
Package vnc provides headless remote display serving for virtual machines. |
|
vzkit/vsock
Package vsock provides Go net.Conn adapters for Virtio socket connections and helpers for connecting to a guest over vsock.
|
Package vsock provides Go net.Conn adapters for Virtio socket connections and helpers for connecting to a guest over vsock. |
Click to show internal directories.
Click to hide internal directories.