tailscale/types/views
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>
2023-08-18 08:21:52 -07:00
..
views_test.go types/views: add LenIter method to slice view types 2023-08-18 08:21:52 -07:00
views.go types/views: add LenIter method to slice view types 2023-08-18 08:21:52 -07:00