examples/

directory
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT

Directories

Path Synopsis
Command clipboard demonstrates github.com/crgimenes/native/clipboard: it writes text to the system clipboard, reads it back, and restores whatever was there before.
Command clipboard demonstrates github.com/crgimenes/native/clipboard: it writes text to the system clipboard, reads it back, and restores whatever was there before.
Command filedialog demonstrates github.com/crgimenes/native/filedialog: it shows the native open panel, then the native save panel.
Command filedialog demonstrates github.com/crgimenes/native/filedialog: it shows the native open panel, then the native save panel.
Command mmap demonstrates github.com/crgimenes/native/mmap: it maps a file, edits it through the byte slice, unmaps, and reads the change back from disk.
Command mmap demonstrates github.com/crgimenes/native/mmap: it maps a file, edits it through the byte slice, unmaps, and reads the change back from disk.
Command openurl demonstrates github.com/crgimenes/native/openurl: it opens a web page in the default browser and reveals a file in the file manager.
Command openurl demonstrates github.com/crgimenes/native/openurl: it opens a web page in the default browser and reveals a file in the file manager.
Command power demonstrates github.com/crgimenes/native/power: it asks the OS to keep the system awake, holds the inhibition for a few seconds, then releases it.
Command power demonstrates github.com/crgimenes/native/power: it asks the OS to keep the system awake, holds the inhibition for a few seconds, then releases it.
Command singleinstance demonstrates github.com/crgimenes/native/singleinstance.
Command singleinstance demonstrates github.com/crgimenes/native/singleinstance.

Jump to

Keyboard shortcuts

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