summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/wiggin77/cfg/nocopy.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/wiggin77/cfg/nocopy.go')
-rw-r--r--vendor/github.com/wiggin77/cfg/nocopy.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/vendor/github.com/wiggin77/cfg/nocopy.go b/vendor/github.com/wiggin77/cfg/nocopy.go
deleted file mode 100644
index f2450c0b..00000000
--- a/vendor/github.com/wiggin77/cfg/nocopy.go
+++ /dev/null
@@ -1,11 +0,0 @@
-package cfg
-
-// noCopy may be embedded into structs which must not be copied
-// after the first use.
-//
-// See https://golang.org/issues/8005#issuecomment-190753527
-// for details.
-type noCopy struct{}
-
-// Lock is a no-op used by -copylocks checker from `go vet`.
-func (*noCopy) Lock() {}