erm/vendor/github.com/d-tsuji/clipboard/clipboard.go

12 lines
222 B
Go
Raw Normal View History

2021-07-30 22:29:20 +00:00
package clipboard
// Get returns the current text data of the clipboard.
func Get() (string, error) {
return get()
}
// Set sets the current text data of the clipboard.
func Set(text string) error {
return set(text)
}