clipboard

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Content

type Content struct {
	Text  string
	Image *string // base64 data URL, e.g. "data:image/png;base64,..."
}

Content represents a piece of clipboard content (text or image)

func Read

func Read() ([]Content, error)

Read reads text and image content from the Linux clipboard.

Jump to

Keyboard shortcuts

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