clipboard

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyImage

func CopyImage(imagePath string, imageData []byte) error

CopyImage copies image data to the system clipboard

func CopyText

func CopyText(text string) error

CopyText copies text to the system clipboard

func ReadImage

func ReadImage() ([]byte, error)

ReadImage reads image data from the system clipboard Returns the image data and an error if clipboard doesn't contain an image

func ReadText

func ReadText() (string, error)

ReadText reads text content from the system clipboard

Types

This section is empty.

Jump to

Keyboard shortcuts

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