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
This commit is contained in:
Russ Cox 2009-08-12 13:18:37 -07:00
parent dd5f32330c
commit 3b864e4195
81 changed files with 330 additions and 1081 deletions

View file

@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package bytes
package bytes_test
import (
"bytes";
. "bytes";
"rand";
"testing";
)