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/metrics
Brad Fitzpatrick da8def8e13 all: remove old +build tags
The //go:build syntax was introduced in Go 1.17:

https://go.dev/doc/go1.17#build-lines

gofmt has kept the +build and go:build lines in sync since
then, but enough time has passed. Time to remove them.

Done with:

    perl -i -npe 's,^// \+build.*\n,,' $(git grep -l -F '+build')

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
fds_linux.go metrics: use SYS_OPENAT 3 years ago
fds_notlinux.go all: remove old +build tags 2 years ago
metrics.go metrics: move currentFDs code to the metrics package 3 years ago
metrics_test.go all: use testingutil.MinAllocsPerRun 3 years ago