diff options
| author | David Crawshaw <crawshaw@golang.org> | 2018-01-02 09:43:41 -0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2019-09-28 00:19:19 +0000 |
| commit | 2d1c0332598c77097d53a1c2d564b12dcd644810 (patch) | |
| tree | c062862352a3486278483ff33a2087c26ae10219 /doc/code.html | |
| parent | 739bf6b929b66ac1715268e269da01c8199f034b (diff) | |
| download | go-2d1c0332598c77097d53a1c2d564b12dcd644810.tar.xz | |
reflect: let StructOf define unexported fields
This was missing from the original StructOf CL because I couldn't
think of a use for it. Now I can: even with types used entirely
by reflect, unexported fields can be set using UnsafeAddr.
Change-Id: I5e7e3d81d16e8817cdd69d85796ce33930ef523b
Reviewed-on: https://go-review.googlesource.com/c/go/+/85661
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'doc/code.html')
0 files changed, 0 insertions, 0 deletions
