Adding files and image clipboard handling
ns | ||
main_test.go | ||
main.go | ||
nswrap.yaml | ||
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