-
Rodrigo Rafael Monti Kochenburger authored
Re-assigning the return value of an atomic operation to the same variable being operated is a common mistake: x = atomic.AddUint64(&x, 1) Add this check to go vet. Fixes #4065. R=dvyukov, golang-dev, remyoudompheng, rsc CC=golang-dev https://golang.org/cl/7097048
60731765
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile | ||
atomic.go | ||
doc.go | ||
main.go | ||
method.go | ||
print.go | ||
rangeloop.go | ||
structtag.go | ||
taglit.go |