go/src/time
Brad Fitzpatrick d88261fb65 time: don't depend on the io package
The time package has never depended on the io package until
a recent change during Go 1.7 to use the io.Seek* constants.

The go/build dependency check didn't catch this because "time" was
allowed to depend on meta package group "L0", which included "io".

Adding the "io" package broke one of Dmitry's tools. The tool is
fixable, but it's also not necessary for us to depend on "io" at all
for some constants. Mirror the constants instead, and change
deps_test.go to prevent an io dependency in the future.

Change-Id: I74325228565279a74fa4a2f419643f5710e3e09f
Reviewed-on: https://go-review.googlesource.com/22960
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2016-05-09 20:31:47 +00:00
..
example_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
export_test.go
export_windows_test.go
format.go all: single space after period. 2016-03-02 00:13:47 +00:00
format_test.go
genzabbrs.go
internal_test.go
sleep.go all: single space after period. 2016-03-02 00:13:47 +00:00
sleep_test.go
sys_plan9.go time: don't depend on the io package 2016-05-09 20:31:47 +00:00
sys_unix.go time: don't depend on the io package 2016-05-09 20:31:47 +00:00
sys_windows.go time: don't depend on the io package 2016-05-09 20:31:47 +00:00
tick.go all: single space after period. 2016-03-02 00:13:47 +00:00
tick_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
time.go time: print zero duration as 0s, not 0 2016-04-21 22:07:59 +00:00
time_test.go time: print zero duration as 0s, not 0 2016-04-21 22:07:59 +00:00
zoneinfo.go
zoneinfo_abbrs_windows.go
zoneinfo_ios.go
zoneinfo_plan9.go
zoneinfo_read.go time: don't depend on the io package 2016-05-09 20:31:47 +00:00
zoneinfo_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
zoneinfo_unix.go
zoneinfo_windows.go all: remove unnecessary type conversions 2016-04-15 07:31:45 +00:00
zoneinfo_windows_test.go