An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

proxy.golang.org : github.com/tmc/macgo

Package macgo provides seamless macOS application bundle creation with permissions and entitlements. macgo enables Go programs to integrate with macOS security features by automatically creating app bundles with proper structure, Info.plist, entitlements, and code signing. This allows Go applications to request system permissions (camera, microphone, files, etc.) just like native macOS applications. The simplest way to use macgo is with the Request function: Request multiple permissions at once: For more control, use the Config struct with builder methods: Core permissions that cover most use cases: macgo supports multiple signing approaches: Ad-hoc signing for development: Automatic Developer ID detection: Specific signing identity: Configure macgo via environment variables: Permission-specific variables: macgo creates a standard macOS app bundle: macgo intelligently generates bundle IDs from your Go module path: This ensures unique, meaningful identifiers for your applications. Import auto packages for pre-configured setups: macgo integrates with macOS TCC (Transparency, Consent, and Control) to: See the examples directory for complete applications demonstrating: Package macgo provides simple macOS app bundle creation and TCC permission management. macgo enables Go applications to request macOS system permissions (camera, microphone, files, etc.) by automatically creating app bundles with proper entitlements and handling the relaunch process when necessary. This is a simplified API designed following Go's design principles: - Simple API surface with sensible defaults - Explicit configuration over magic behavior - No global state or init() side effects - Focus on the common case (95% of users) Basic usage: Advanced configuration: Example showing automatic bundle ID generation Example showing environment variables

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/tmc/macgo
License: MIT
Latest release: 20 days ago
Namespace: github.com/tmc
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 20 days ago