aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/bytes
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2011-11-08 15:40:58 -0800
committerRob Pike <r@golang.org>2011-11-08 15:40:58 -0800
commit30aa701fec9fad07180ca45958cf552b193a4d3a (patch)
tree8d8426473373c6af3721d1734c87d0d7bf99595a /src/pkg/bytes
parent6ab6c49fce6968f200ad5381cb9348e159e51099 (diff)
downloadgo-30aa701fec9fad07180ca45958cf552b193a4d3a.tar.xz
renaming_2: gofix -r go1pkgrename src/pkg/[a-l]*
R=rsc CC=golang-dev https://golang.org/cl/5358041
Diffstat (limited to 'src/pkg/bytes')
-rw-r--r--src/pkg/bytes/buffer.go2
-rw-r--r--src/pkg/bytes/buffer_test.go4
-rw-r--r--src/pkg/bytes/bytes.go2
-rw-r--r--src/pkg/bytes/bytes_test.go2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/pkg/bytes/buffer.go b/src/pkg/bytes/buffer.go
index d1a5b68dc8..e66ac026e5 100644
--- a/src/pkg/bytes/buffer.go
+++ b/src/pkg/bytes/buffer.go
@@ -9,7 +9,7 @@ package bytes
import (
"errors"
"io"
- "utf8"
+ "unicode/utf8"
)
// A Buffer is a variable-sized buffer of bytes with Read and Write methods.
diff --git a/src/pkg/bytes/buffer_test.go b/src/pkg/bytes/buffer_test.go
index c271b482e1..5235970032 100644
--- a/src/pkg/bytes/buffer_test.go
+++ b/src/pkg/bytes/buffer_test.go
@@ -7,9 +7,9 @@ package bytes_test
import (
. "bytes"
"io"
- "rand"
+ "math/rand"
"testing"
- "utf8"
+ "unicode/utf8"
)
const N = 10000 // make this bigger for a larger (and slower) test
diff --git a/src/pkg/bytes/bytes.go b/src/pkg/bytes/bytes.go
index 56306b0288..9bfd88fa39 100644
--- a/src/pkg/bytes/bytes.go
+++ b/src/pkg/bytes/bytes.go
@@ -8,7 +8,7 @@ package bytes
import (
"unicode"
- "utf8"
+ "unicode/utf8"
)
// Compare returns an integer comparing the two byte arrays lexicographically.
diff --git a/src/pkg/bytes/bytes_test.go b/src/pkg/bytes/bytes_test.go
index 62f258de8a..9256b18427 100644
--- a/src/pkg/bytes/bytes_test.go
+++ b/src/pkg/bytes/bytes_test.go
@@ -9,7 +9,7 @@ import (
"reflect"
"testing"
"unicode"
- "utf8"
+ "unicode/utf8"
)
func eq(a, b []string) bool {