diff --git a/doc/go_faq.html b/doc/go_faq.html index 65445d4220..69296bc27b 100644 --- a/doc/go_faq.html +++ b/doc/go_faq.html @@ -1262,6 +1262,8 @@ each iteration of the loop uses the same instance of the variable v each closure shares that single variable. When the closure runs, it prints the value of v at the time fmt.Println is executed, but v may have been modified since the goroutine was launched. +To help detect this and other problems before they happen, run +go vet.