From 30aa701fec9fad07180ca45958cf552b193a4d3a Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Tue, 8 Nov 2011 15:40:58 -0800 Subject: renaming_2: gofix -r go1pkgrename src/pkg/[a-l]* R=rsc CC=golang-dev https://golang.org/cl/5358041 --- src/pkg/bytes/buffer.go | 2 +- src/pkg/bytes/buffer_test.go | 4 ++-- src/pkg/bytes/bytes.go | 2 +- src/pkg/bytes/bytes_test.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/pkg/bytes') 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 { -- cgit v1.3-5-g9baa