Kristoffer Dalby bbd65862d7
cmd/viewer: add view-only option
This PR adds a --view-only-type flag to viewer to allow
a type to be generated without a cloner.
This is made available to make the few cases where writing
a custom cloner is more practical, for example if the field
is an interface.

Updates corp/#16789

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-01-23 13:46:02 +01:00
..
2023-08-03 13:00:45 -07:00
2024-01-23 13:46:02 +01:00