Documentation
¶
Overview ¶
Package clipboard provides a thin wrapper for writing to and reading from the system clipboard. It uses platform-native CLI tools (xclip/xsel/wl-copy on Linux, pbcopy/pbpaste on macOS, clip.exe/PowerShell on Windows) so that no CGO or display-server headers are required at build time. Availability is determined at runtime by probing for the tools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Available ¶
func Available() bool
Available reports whether a clipboard tool was found on this system.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.