aboutsummaryrefslogtreecommitdiff
path: root/src/net/http/export_test.go
diff options
context:
space:
mode:
authorMichael Anthony Knyszek <mknyszek@google.com>2024-03-22 21:42:02 +0000
committerGopher Robot <gobot@golang.org>2024-04-17 21:09:59 +0000
commit4742c52e101ecf4aacebe5148a1cb172bdadb1d4 (patch)
tree7e405c1591233beaca9c0e75d945e9386183001c /src/net/http/export_test.go
parent2073b35e07ce9cea47ee1fbe763b304d2371954f (diff)
downloadgo-4742c52e101ecf4aacebe5148a1cb172bdadb1d4.tar.xz
internal/abi: define EmptyInterface, TypeOf, and NoEscape
This change defines two commonly-defined functions and a commonly-defined type in internal/abi to try and deduplicate some definitions. This is motivated by a follow-up CL which will want access to TypeOf in yet another package. There still exist duplicate definitions of all three of these things in the runtime, and this CL doesn't try to handle that yet. There are far too many uses in the runtime to handle manually in a way that feels comfortable; automated refactoring will help. For #62483. Change-Id: I02fc64a28f11af618f6071f94d27f45c135fa8ac Reviewed-on: https://go-review.googlesource.com/c/go/+/573955 Auto-Submit: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/net/http/export_test.go')
0 files changed, 0 insertions, 0 deletions