blob: f2450c0b2392a179c6af3ab0056e1121eb67058b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
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() {}
|