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/types
Brad Fitzpatrick 261cc498d3 types/views: add LenIter method to slice view types
This is basically https://github.com/bradfitz/iter which was
a joke but now that Go's adding range over int soonish, might
as well. It simplies our code elsewher that uses slice views.

Updates #8948

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 year ago
..
dnstype all: update copyright and license headers 2 years ago
empty all: update copyright and license headers 2 years ago
flagtype all: update copyright and license headers 2 years ago
ipproto net/packet: add NAT support for DCCP and GRE 2 years ago
key types/key: add test for NodePublic.Shard 1 year ago
lazy types/lazy: helpers for lazily computed values 2 years ago
logger all: adjust some build tags for wasi 1 year ago
logid all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 1 year ago
netlogtype all: update copyright and license headers 2 years ago
netmap all: remove some Debug fields, NetworkMap.Debug, Reconfig Debug arg 1 year ago
nettype wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 2 years ago
opt all: update copyright and license headers 2 years ago
persist types/persist: drop duplicated Persist.LoginName 1 year ago
preftype all: update copyright and license headers 2 years ago
ptr all: update copyright and license headers 2 years ago
structs all: update copyright and license headers 2 years ago
tkatype all: update copyright and license headers 2 years ago
views types/views: add LenIter method to slice view types 1 year ago