1
0
forked from gmp/clip
clip/README.md
2019-10-01 09:33:35 -04:00

353 B

Clip

A tiny library to access the MacOS clipboard (a.k.a. NSPasteboard).

go get git.wow.st/gmp/clip

API:

// Clear clears the general pasteboard
func Clear()
// Set puts a string on the pasteboard, returning true if successful
func Set(string) bool
// Get retrieves the string currently on the pasteboard.
func Get() string