forked from gmp/clip
1
0
Fork 0
Adding files and image clipboard handling
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ilya Turkin 0286dc39eb fix 3 years ago
ns add get clipboard files and image handling 3 years ago
README.md add get clipboard files and image handling 3 years ago
main.go fix 3 years ago
main_test.go Initial commit. 4 years ago
nswrap.yaml Initial commit. 4 years ago

README.md

Clip

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

go get git.wow.st/63l06ri5/clip

API:

package clip

// 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