You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
12 months ago
..
handle.go
set.go util/set: implement json.Marshaler/Unmarshaler (#10308) 12 months ago
set_test.go util/set: implement json.Marshaler/Unmarshaler (#10308) 12 months ago
slice.go
slice_test.go