go/src/reflect
Carl Johnson 42d2dfb430 reflect: add TypeFor
Fixes #60088

Change-Id: I7b43d329def22c2524501ba1d6bfc73becc823d1
GitHub-Last-Rev: becd714c45
GitHub-Pull-Request: golang/go#61598
Reviewed-on: https://go-review.googlesource.com/c/go/+/513478
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
2023-07-31 15:50:15 +00:00
..
internal all: add missing copyright header 2022-11-09 14:05:53 +00:00
abi.go reflect: replacing almost all use of *rtype with *abi.Type 2023-05-11 01:43:04 +00:00
abi_test.go
all_test.go reflect: panic on recv channel close 2023-07-21 05:39:00 +00:00
arena.go reflect: fix ArenaNew to match documentation 2023-06-16 17:08:43 +00:00
asm_386.s
asm_amd64.s
asm_arm.s
asm_arm64.s
asm_loong64.s
asm_mips64x.s
asm_mipsx.s
asm_ppc64x.s
asm_riscv64.s
asm_s390x.s
asm_wasm.s
benchmark_test.go reflect: optimize DeepEqual() for maps 2023-07-31 15:44:01 +00:00
deepequal.go reflect: optimize DeepEqual() for maps 2023-07-31 15:44:01 +00:00
example_test.go
export_test.go Revert "reflect: change rtype so that it (not *rtype) implements Type" 2023-05-12 13:32:40 +00:00
float32reg_generic.go
float32reg_ppc64x.s
float32reg_riscv64.s
makefunc.go reflect: do not escape Value.Type 2023-05-12 21:11:51 +00:00
nih_test.go reflect: use cgo.Incomplete instead of go:notinheap in tests 2022-08-31 01:16:54 +00:00
set_test.go reflect: use strings.Builder 2022-09-07 13:56:11 +00:00
stubs_ppc64x.go
stubs_riscv64.go
swapper.go reflect: replacing almost all use of *rtype with *abi.Type 2023-05-11 01:43:04 +00:00
tostring_test.go
type.go reflect: add TypeFor 2023-07-31 15:50:15 +00:00
type_test.go reflect: add TypeFor 2023-07-31 15:50:15 +00:00
value.go reflect: panic on recv channel close 2023-07-21 05:39:00 +00:00
visiblefields.go
visiblefields_test.go