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>
1 year ago
..
handle.go util/set: add some useful utility functions for Set (#9535) 1 year ago
set.go util/set: implement json.Marshaler/Unmarshaler (#10308) 1 year ago
set_test.go util/set: implement json.Marshaler/Unmarshaler (#10308) 1 year ago
slice.go util/set: add some useful utility functions for Set (#9535) 1 year ago
slice_test.go util/set: move Slice type from corp to oss 2 years ago