vet: check values for named constants as well as literals.
As in: const format = "%s" fmt.Printf(format, "hi") Also fix a couple of bugs by rewriting the routine. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6099057
Showing
Please register or sign in to comment