• Rob Pike's avatar
    all: avoid bytes.NewBuffer(nil) · 5be24046
    Rob Pike authored
    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.)
    
    R=golang-dev, bradfitz, r
    CC=golang-dev
    https://golang.org/cl/5637043
    5be24046
Name
Last commit
Last update
..
testdata/webkit Loading commit data...
const.go Loading commit data...
doc.go Loading commit data...
doctype.go Loading commit data...
entity.go Loading commit data...
entity_test.go Loading commit data...
escape.go Loading commit data...
foreign.go Loading commit data...
node.go Loading commit data...
parse.go Loading commit data...
parse_test.go Loading commit data...
render.go Loading commit data...
render_test.go Loading commit data...
token.go Loading commit data...
token_test.go Loading commit data...