clipboard

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read added in v0.8.0

func Read() (string, error)

Read returns the current text content of the system clipboard.

func ReadURL

func ReadURL() string

func Write added in v0.8.0

func Write(text string) error

Write copies the given text to the system clipboard.

Types

type Validator

type Validator struct {
	// contains filtered or unexported fields
}

func NewValidator

func NewValidator() *Validator

func (*Validator) ExtractURL

func (v *Validator) ExtractURL(text string) string

Jump to

Keyboard shortcuts

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