Files
William Douglas 04ff3259ab Update how-to-make-a-release with detailed steps
And run them for a commit (needed to poke the go version in go.mod due
to a dependency update needing at least go 1.17).

Signed-off-by: William Douglas <william.douglas@intel.com>
2023-02-22 11:28:50 -08:00
..
2018-08-13 14:14:30 -07:00
2018-09-06 13:16:17 -05:00

Build Status

GoDoc

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:

  • Clipboard watcher(?)

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