gomuks/vendor/github.com/zyedidia/clipboard
2018-04-22 21:25:51 +03:00
..
.travis.yml Switch to dep 2018-04-22 21:25:51 +03:00
clipboard_darwin.go Switch to dep 2018-04-22 21:25:51 +03:00
clipboard_unix.go Switch to dep 2018-04-22 21:25:51 +03:00
clipboard_windows.go Switch to dep 2018-04-22 21:25:51 +03:00
clipboard.go Switch to dep 2018-04-22 21:25:51 +03:00
LICENSE Switch to dep 2018-04-22 21:25:51 +03:00
README.md Switch to dep 2018-04-22 21:25:51 +03:00

Build Status Build Status

GoDoc

Clipboard for Go

Provide copying and pasting to the Clipboard for Go.

Download shell commands at https://drone.io/github.com/atotto/clipboard/files

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