We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hello, i find one spell mistake in 100-go-mistakes at chapter 9 #63 - Not being careful with goroutines and loop variable.
in the code, use fmt.Print :
s := []int{1, 2, 3} for _, i := range s { go func() { fmt.Print(i) }() }
in the description, use fmt.Println:
it prints the value of i at the time fmt.Println is executed
The text was updated successfully, but these errors were encountered:
Ah good one. Thanks @ThomasMing0915, I fixed it.
Sorry, something went wrong.
No branches or pull requests
hello, i find one spell mistake in 100-go-mistakes at chapter 9 #63 - Not being careful with goroutines and loop variable.
in the code, use fmt.Print :
in the description, use fmt.Println:
it prints the value of i at the time fmt.Println is executed
The text was updated successfully, but these errors were encountered: