dgrr
|
e9eca1e4a0
|
noCopy didn't implement sync.Locker well. L letter of Unlock must be lower case
|
2018-11-14 07:33:18 +05:30 |
|
Jiajun Huang
|
9d6d9b7cd5
|
fix go vet do not work on noCopy
|
2018-11-13 23:03:30 +05:30 |
|
Aliaksandr Valialkin
|
9f43aa1601
|
Do not expose noCopy.Lock
|
2016-03-04 21:20:52 +02:00 |
|
Aliaksandr Valialkin
|
9fa69c74af
|
Embed noCopy struct into structs, which mustn't be copied
This should help `go vet` detecting invalid structs' copyings.
See https://github.com/golang/go/issues/8005#issuecomment-190753527 for details.
|
2016-03-04 16:57:24 +02:00 |
|