noCopy may be added to structs which must not be copied after the first use. See https://golang.org/issues/8005#issuecomment-190753527 for details. Note that it must not be embedded, due to the Lock and Unlock methods.
| 1705 | // |
| 1706 | // Note that it must not be embedded, due to the Lock and Unlock methods. |
| 1707 | type noCopy struct{} |
| 1708 | |
| 1709 | // Lock is a no-op used by -copylocks checker from `go vet`. |
| 1710 | func (*noCopy) Lock() {} |
nothing calls this directly
no outgoing calls
no test coverage detected