5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-09-20 04:22:32 +00:00
matterbridge/vendor/github.com/wiggin77/cfg/nocopy.go

12 lines
289 B
Go
Raw Normal View History

2020-10-19 21:40:00 +00:00
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() {}