drop 0 from declaration (golint)

This commit is contained in:
Noah Zoschke
2018-01-26 09:21:58 -08:00
parent fd573c3095
commit de34a8a2af
3 changed files with 5 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ func main() {
// We'll use an unsigned integer to represent our
// (always-positive) counter.
var ops uint64 = 0
var ops uint64
// To simulate concurrent updates, we'll start 50
// goroutines that each increment the counter about