Top 4.7% dependent repos on proxy.golang.org
proxy.golang.org : github.com/nomos/clipboard
Package clipboard provides cross platform clipboard access and supports macOS/Linux/Windows/Android/iOS platform. There are three major APIs to interact with the clipboard: `Read`, `Write`, and `Watch`. The most common operations are `Read` and `Write`. To use them: Note that read/write regarding image format assumes that the bytes are PNG encoded since it serves the alpha blending purpose that might be used in other graphical software. In addition, `clipboard.Write` returns a channel that can receive an empty struct as a signal, which indicates the corresponding write call to the clipboard is outdated, meaning the clipboard has been overwritten by others and the previously written data is lost. For instance: You can ignore the returning channel if you don't need this type of notification. Furthermore, when you need more than just knowing whether clipboard data is changed, use the watcher API:
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/nomos/clipboard
License: MIT
Latest release: over 3 years ago
First release: over 4 years ago
Namespace: github.com/nomos
Dependent packages: 1
Dependent repositories: 1
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/changkun
Last synced: 8 days ago