mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
dd5f32330c
commit
3b864e4195
81 changed files with 330 additions and 1081 deletions
|
|
@ -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";
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue