Discover Packages
gopkg.in/bndw/pick.v0
utils
clipboard
package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Nov 2, 2018
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
ClearIfMatch clears the clipboard if its current content's truncated
hash equals 'match'
Copy copies the provided text to the system clipboard
If clearAfter is given and larger 0, the clipboard is automatically
cleared after the duration has passed
type Config struct {
ClearAfter Duration `toml:"clearAfter"`
}
func NewDefaultConfig() Config
Source Files
¶
Click to show internal directories.
Click to hide internal directories.