]> Cypherpunks repositories - gostls13.git/commit
context: don't depend on fmt
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 27 Feb 2019 20:08:36 +0000 (20:08 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 27 Mar 2019 02:37:56 +0000 (02:37 +0000)
commit724a86fcede55d0e80da4a779ef64a2eb5d235a8
tree2e162222e9eb4eb604efd70f0627ba57868c12ce
parentf2e51f00158c2dcdff37c573c24f798d1e63db31
context: don't depend on fmt

So the net package doesn't indirectly depend on unicode tables.

But we're still not quite there, because a new test added in this CL
reveals that we still have a path to unicode via:

deps_test.go:570:
  TODO(issue 30440): policy violation: net => sort => reflect => unicode

Updates #30440

Change-Id: I710c2061dfbaa8e866c92e6c824bd8df35784165
Reviewed-on: https://go-review.googlesource.com/c/go/+/169080
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/context/context.go
src/context/context_test.go
src/go/build/deps_test.go
src/internal/reflectlite/type.go