native-module

command
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Native-module is an app of native UI that calls native modules, Go interfaces implemented in Swift: package language in modules/language, with Apple's NaturalLanguage framework, tells the language and the sentences of the text typed; package places in modules/places shows a map of MapKit, a view of the platform, in the window, and the system's share menu.

go run ./cmd/mygo dev examples/native-module

mygo dev and mygo build generate the modules and build their Swift packages into the app (see docs/native-modules.md).

Directories

Path Synopsis
modules
language
Package language is a native module: natural language processing with Apple's NaturalLanguage framework, behind Go interfaces.
Package language is a native module: natural language processing with Apple's NaturalLanguage framework, behind Go interfaces.
motion
Package motion is a native module drawing into a texture on the GPU: frames of an animation, made with Core Graphics in pixel buffers backed by IOSurfaces, which native UI shows as any image, with no copy.
Package motion is a native module drawing into a texture on the GPU: frames of an animation, made with Core Graphics in pixel buffers backed by IOSurfaces, which native UI shows as any image, with no copy.
places
Package places is a native module of views: a map of the platform shown in native UI, and the system's share menu, anchored to what the window shows.
Package places is a native module of views: a map of the platform shown in native UI, and the system's share menu, anchored to what the window shows.

Jump to

Keyboard shortcuts

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