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
Brad Fitzpatrick dc7aa98b76 all: use set.Set consistently instead of map[T]struct{}
I didn't clean up the more idiomatic map[T]bool with true values, at
least yet.  I just converted the relatively awkward struct{}-valued
maps.

Updates #cleanup

Change-Id: I758abebd2bb1f64bc7a9d0f25c32298f4679c14f
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 year ago
..
set.go all: use set.Set consistently instead of map[T]struct{} 1 year ago
set_test.go util/set: add a basic map-based Set type 2 years ago
slice.go cmd/k8s-operator: add metrics to track usage 1 year ago
slice_test.go util/set: move Slice type from corp to oss 2 years ago