From fc30062047876ed5e09983e0314265811973d2d3 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 12 Aug 2009 13:18:37 -0700 Subject: convert low-level (used by testing) packages to whole-package compilation. new Makefiles, tests now in separate package bytes flag fmt io math once os reflect strconv sync time utf8 delete import "xxx" in package xxx. inside package xxx, xxx is not declared anymore so s/xxx.//g delete file and package level forward declarations. note the new internal_test.go and sync and strconv to provide public access to internals during testing. the installed version of the package omits that file and thus does not open the internals to all clients. R=r OCL=33065 CL=33097 --- src/pkg/bytes/buffer.go | 1 - 1 file changed, 1 deletion(-) (limited to 'src/pkg/bytes/buffer.go') diff --git a/src/pkg/bytes/buffer.go b/src/pkg/bytes/buffer.go index 58e06e9e4..6c857069b 100644 --- a/src/pkg/bytes/buffer.go +++ b/src/pkg/bytes/buffer.go @@ -7,7 +7,6 @@ package bytes // Simple byte buffer for marshaling data. import ( - "bytes"; "os"; ) -- cgit v1.2.3