Descriptionall: avoid bytes.NewBuffer(nil)
The practice encourages people to think this is the way to
create a bytes.Buffer when new(bytes.Buffer) or
just var buf bytes.Buffer work fine.
(html/token.go was missing the point altogether.)
Patch Set 1 #Patch Set 2 : diff -r abfe7166037c https://go.googlecode.com/hg/ #Patch Set 3 : diff -r cace174e66ec https://go.googlecode.com/hg/ #
MessagesTotal messages: 6
|