-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
noCopy implements sync.Locker (#1216)
noCopy is used by -copylocks checker from `go vet`. see golang/go#8005 (comment) for details. but it doesn't work from Go 1.11, because of golang/go@c2eba53 and golang/go#26165 -copylock now works with structs that implement sync.Locker. So, noCopy should implement sync.Locker.
- Loading branch information
1 parent
9942e21
commit 4b65372
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters