package
Version:
v0.0.0-...-6d5f5ec
Opens a new window with list of versions in this module.
Published: Aug 18, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
This directory based on clipboard.
Clipboard for Go
Provide copying and pasting to the Clipboard for Go.
Build:
$ go get github.com/atotto/clipboard
Platforms:
- OSX
- Windows 7 (probably work on other Windows)
- Linux, Unix (requires 'xclip' or 'xsel' command to be installed)
Document:
Notes:
- Text string only
- UTF-8 text encoding only (no conversion)
TODO:
Commands:
paste shell command:
$ go get github.com/atotto/clipboard/cmd/gopaste
$ # example:
$ gopaste > document.txt
copy shell command:
$ go get github.com/atotto/clipboard/cmd/gocopy
$ # example:
$ cat document.txt | gocopy
Documentation
¶
Package clipboard read/write on clipboard
Unsupported might be set true during clipboard init,
to help callers decide whether or not to
offer clipboard options.
ReadAll read string from clipboard
WriteAll write string to clipboard
Source Files
¶
Directories
¶
cmd
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.