aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/encode.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2016-05-09 17:21:11 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2016-05-09 20:31:47 +0000
commitd88261fb6581106e4e7d8d6c63f0e33c2a24361e (patch)
tree103b34c2d36d5da6d8e5fd60ac768e19e755d704 /src/encoding/json/encode.go
parent561c94884477f568bdb68aacebfeb4d0411a874b (diff)
downloadgo-d88261fb6581106e4e7d8d6c63f0e33c2a24361e.tar.xz
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>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions