• Brad Fitzpatrick's avatar
    time: don't depend on the io package · d88261fb
    Brad Fitzpatrick authored
    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: 's avatarIan Lance Taylor <iant@golang.org>
    d88261fb
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...