clipboard

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package clipboard copies and pastes text.

nimbus native plugin add clipboard

clipboard.Set(ctx, "NOVA-4821")
text, err := clipboard.Get(ctx)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(ctx context.Context) (string, error)

Get returns the text on the clipboard, or "". iOS may show a paste notice, and Android only allows it while the app is in front.

func Set

func Set(ctx context.Context, text string) error

Set copies text.

Types

This section is empty.

Jump to

Keyboard shortcuts

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