Remove superfluous TODO and remove underscore in method name in example code

Eno Compton 2016-11-13 11:26:27 -07:00
parent e243495e9d
commit 6cf536bfdf

@ -10,10 +10,10 @@ When new programmers start using Go or when old Go programmers start using a new
# Using goroutines on loop iterator variables # Using goroutines on loop iterator variables
When iterating in Go, one might also be tempted to use goroutines to process data in parallel. For example, you might write the following code (TODO: What is wrong with example from the following code?): When iterating in Go, one might also be tempted to use goroutines to process data in parallel. For example, you might write the following code:
```go ```go
for val := range values { for val := range values {
go val.my_method() go val.MyMethod()
} }
``` ```