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/version
Josh Bleecher Snyder a4e19f2233 version: remove rsc.io/goversion dependency
rsc.io/goversion is really expensive.
Running version.ReadExe on tailscaled on darwin
allocates 47k objects, almost 11mb.

All we want is the module info. For that, all we need to do
is scan through the binary looking for the magic start/end strings
and then grab the bytes in between them.

We can do that easily and quickly with nothing but a 64k buffer.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
3 years ago
..
distro cmd/tailscale/web: add support for QNAP 3 years ago
.gitignore version: greatly simplify redo nonsense, now that we use VERSION. 4 years ago
cmdname.go version: remove rsc.io/goversion dependency 3 years ago
cmdname_ios.go all: gofmt with Go 1.17 3 years ago
cmp.go version: don't allocate parsing unsupported versions, empty strings 3 years ago
cmp_test.go version: don't allocate parsing unsupported versions, empty strings 3 years ago
modinfo_test.go version: remove rsc.io/goversion dependency 3 years ago
print.go version: use OSS repo's version when building. 4 years ago
prop.go version: add IsMacSysExt func 4 years ago
race.go all: gofmt with Go 1.17 3 years ago
race_off.go all: gofmt with Go 1.17 3 years ago
version.go version: bump date 3 years ago