1
0
mirror of https://github.com/golang/go synced 2024-10-04 23:21:20 -06:00
go/src/time
Dominik Honnef fdba5a7544 all: delete dead non-test code
This change removes a lot of dead code. Some of the code has never been
used, not even when it was first commited. The rest shouldn't have
survived refactors.

This change doesn't remove unused routines helpful for debugging, nor
does it remove code that's used in commented out blocks of code that are
only unused temporarily. Furthermore, unused constants weren't removed
when they were part of a set of constants from specifications.

One noteworthy omission from this CL are about 1000 lines of unused code
in cmd/fix, 700 lines of which are the typechecker, which hasn't been
used ever since the pre-Go 1 fixes have been removed. I wasn't sure if
this code should stick around for future uses of cmd/fix or be culled as
well.

Change-Id: Ib714bc7e487edc11ad23ba1c3222d1fd02e4a549
Reviewed-on: https://go-review.googlesource.com/20926
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-03-25 06:28:13 +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 time: fix registry zone info lookup on Windows 2015-05-12 14:28:40 +00:00
format_test.go all: replace strings.Index with strings.Contains where possible 2016-02-19 01:06:05 +00:00
format.go all: single space after period. 2016-03-02 00:13:47 +00:00
genzabbrs.go
internal_test.go
sleep_test.go time: deflake TestAfterQueuing 2015-05-06 19:26:27 +00:00
sleep.go all: single space after period. 2016-03-02 00:13:47 +00:00
sys_plan9.go
sys_unix.go
sys_windows.go
tick_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
tick.go all: single space after period. 2016-03-02 00:13:47 +00:00
time_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
time.go all: delete dead non-test code 2016-03-25 06:28:13 +00:00
zoneinfo_abbrs_windows.go
zoneinfo_ios.go time: zoneinfo support for darwin 2015-03-03 15:37:14 +00:00
zoneinfo_plan9.go Build fix for plan9 after 8bf13838eb. 2015-02-08 22:30:46 +00:00
zoneinfo_read.go all: single space after period. 2016-03-02 00:13:47 +00:00
zoneinfo_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
zoneinfo_unix.go time: zoneinfo support for darwin 2015-03-03 15:37:14 +00:00
zoneinfo_windows_test.go time: handle localized time zone names 2015-08-26 04:40:59 +00:00
zoneinfo_windows.go time: handle localized time zone names 2015-08-26 04:40:59 +00:00
zoneinfo.go time: fix comment about use of Location.cacheEnd 2016-01-26 15:16:47 +00:00