clipboard

package module
v0.0.0-...-b66f0fc Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: MIT Imports: 8 Imported by: 0

README

Clipboard

A simple Go library for writing text to the system clipboard across different platforms.

Supported Platforms

  • Linux: Uses xsel command for clipboard operations
  • WSL (Windows Subsystem for Linux): Uses Windows clip.exe utility

Installation

go get github.com/syohex/clipboard

Prerequisites

Linux

Install xsel on your system:

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(text string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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