]> Cypherpunks repositories - gostls13.git/commit
Removed bytes.Add and bytes.AddByte; we now have 'append'.
authorKyle Consalus <consalus@gmail.com>
Wed, 1 Dec 2010 19:59:13 +0000 (11:59 -0800)
committerRob Pike <r@golang.org>
Wed, 1 Dec 2010 19:59:13 +0000 (11:59 -0800)
commit009aebdba8f35fb8609635520c58f76742e46996
treed7eaa78e28e41ba52ca5e3a7f2d8924565e265b5
parent1f90447e3148d05dd093dbf4d36d919269d50390
Removed bytes.Add and bytes.AddByte; we now have 'append'.
Changed all uses of bytes.Add (aside from those testing bytes.Add) to append(a, b...).
Also ran "gofmt -s" and made use of copy([]byte, string) in the fasta benchmark.

R=golang-dev, r, r2
CC=golang-dev
https://golang.org/cl/3302042
doc/effective_go.html
src/pkg/bytes/bytes.go
src/pkg/bytes/bytes_test.go
src/pkg/crypto/tls/conn.go
src/pkg/json/scanner_test.go
src/pkg/json/stream.go
src/pkg/net/textproto/reader.go
src/pkg/regexp/regexp.go
src/pkg/xml/read.go
test/bench/fasta.go