cmd/{cloner,viewer}: add support for map values with pointers

Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
Maisem Ali
2022-07-12 23:52:44 -07:00
committed by Maisem Ali
parent 26f103473c
commit 95d43c54bf
5 changed files with 34 additions and 8 deletions

View File

@@ -31,6 +31,7 @@ type Map struct {
SliceIntPtr map[string][]*int
PointerKey map[*string]int `json:"-"`
StructWithPtrKey map[StructWithPtrs]int `json:"-"`
StructWithPtr map[string]StructWithPtrs
}
type StructWithPtrs struct {