Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gopkg.in/xlab/clipboard.v1

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gopkg.in/xlab/clipboard.v1

  • v1.0.0-20140524131402-653a2fdb2b8e
  • Go
  • Socket score

Version published
Created
Source

Clipboard for Go (go-qml applications)

Uses Qt's facilities to store or load text in/out of the clipboard. This branch utilizes qml.Common to make calls to QClipboard wrapper. This way is a little slower (than master), but code is much cleaner and tends to be safer.

Installation:

See the requirements of go-qml. If they're met and PKG_CONFIG_PATH is set:

$ go get gopkg.in/xlab/clipboard.v1

Platforms:

All that supported by go-qml. Requires installed gopkg.in/qml.v0 package.

Doc:

Additional info:

The package atotto/clipboard is currently incompatible with go-qml machinery, see Issue #26. This package utilizes CGO and qml.Common in order to use QApplication::clipboard. Also the benchmarks are better:

BenchmarkReadAll	  100000	     16090 ns/op
BenchmarkWriteAll	   10000	    271159 ns/op
ok  	gopkg.in/xlab/clipboard.v1	4.723s
BenchmarkReadAll	     100	  20067708 ns/op
BenchmarkWriteAll	     100	  19592142 ns/op
ok  	github.com/atotto/clipboard	4.119s

License is MIT.

FAQs

Package last updated on 24 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc