Discover Packages
github.com/go-vgo/robotgo
internal
cliplock
package
Version:
v1.3.4
Opens a new window with list of versions in this module.
Published: Oct 7, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Package cliplock serializes system clipboard access between test
processes: go test ./... runs packages in parallel and they all share
one clipboard.
Lock blocks until tb holds the clipboard lock; it is released when tb
finishes. The OS drops the lock if the process dies. It is not reentrant:
calling Lock again before tb finishes (e.g. in a subtest) deadlocks.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.