diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2021-03-22 19:15:48 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-03-22 19:17:49 -0700 |
commit | c0bd71c5a596af6cf7f05a712232464623da0ba9 (patch) | |
tree | bf0d412f98f69dd163fc038258f23df9b19368f0 /tools/github/main.go | |
parent | 9e86dfc9c5b56eaa91485826bcf3f1f7617d2eb0 (diff) |
[lisa] Support dynamic types for all types.
We were only supporting dynamic struct types. With this change, users can make
any type dynamic. The tool (correctly) blindly just generates the remaining
methods needed to implement Marshallable using the 3 methods defined by the
user on the dynamic type.
This is helpful in situations like:
type StringArray []string
Added a test for such a use case.
PiperOrigin-RevId: 364463164
Diffstat (limited to 'tools/github/main.go')
0 files changed, 0 insertions, 0 deletions