Debian Codegraph @

/

debian golang-github-gopasspw-clipboard 0.0~git20260524.6b387ae-2debian golang-github-gopasspw-clipboard-dev debiangoinimakemakefilemarkdownshellyaml 25 files · 46 symbols
View dependency graph

Depends on

README (full)

Clipboard access for Go

GoDoc

Provide copying and pasting to the Clipboard for Go.

Installation

go get github.com/gopasspw/clipboard

Platforms

We aim to support all platforms that Go supports, as long as they provide a clipboard.

The following platforms are know to work:

  • Darwin (macOS)
  • Windows
  • Linux, Unix (requires 'xclip', 'xsel' or 'wl-clipboard' commands to be installed)

Commands

paste shell command:

go get github.com/gopasspw/clipboard/cmd/gopaste
# example:
gopaste > document.txt

copy shell command:

go get github.com/gopasspw/clipboard/cmd/gocopy
# example:
cat document.txt | gocopy

License and Credit

This package is licensed under the BSD 3-Clause License. It is a detached fork of github.com/atotto/clipboard. Since the origional repository has been inactive for over 10 years, we decided to fork it and add some features and bug fixes.

This repository is maintained to support the needs of gopass password manager. It is not an exact drop-in replacement, but we encourage everyone to use it as a replacement for the original package.

dir .github/
dir cmd/
dir debian/
file .gitignore
file .golangci.yml
file LICENSE
file Makefile
file README.md
file clipboard.go
file clipboard_darwin.go
file clipboard_darwin_test.go
file clipboard_plan9.go
file clipboard_test.go
file clipboard_unix.go
file clipboard_windows.go
file example_test.go
file go.mod
file go.sum