tailscale/util/set
Andrew Lytvynov 2c1f14d9e6
util/set: implement json.Marshaler/Unmarshaler (#10308)
Marshal as a JSON list instead of a map. Because set elements are
`comparable` and not `cmp.Ordered`, we cannot easily sort the items
before marshaling.

Updates #cleanup

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2023-11-20 08:00:31 -08:00
..
handle.go util/set: add some useful utility functions for Set (#9535) 2023-09-29 14:31:02 -07:00
set.go util/set: implement json.Marshaler/Unmarshaler (#10308) 2023-11-20 08:00:31 -08:00
set_test.go util/set: implement json.Marshaler/Unmarshaler (#10308) 2023-11-20 08:00:31 -08:00
slice.go util/set: add some useful utility functions for Set (#9535) 2023-09-29 14:31:02 -07:00
slice_test.go util/set: move Slice type from corp to oss 2023-04-14 19:25:39 -04:00