tailscale/hostinfo
Brad Fitzpatrick bd2a2d53d3 all: use Go 1.26 things, run most gofix modernizers
I omitted a lot of the min/max modernizers because they didn't
result in more clear code.

Some of it's older "for x := range 123".

Also: errors.AsType, any, fmt.Appendf, etc.

Updates #18682

Change-Id: I83a451577f33877f962766a5b65ce86f7696471c
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2026-03-06 13:32:03 -08:00
..
hostinfo_container_linux_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
hostinfo_darwin.go types/ptr: deprecate ptr.To, use Go 1.26 new 2026-03-05 20:13:18 -08:00
hostinfo_freebsd.go types/ptr: deprecate ptr.To, use Go 1.26 new 2026-03-05 20:13:18 -08:00
hostinfo_linux_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
hostinfo_linux.go all: use Go 1.26 things, run most gofix modernizers 2026-03-06 13:32:03 -08:00
hostinfo_plan9.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
hostinfo_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
hostinfo_uname.go types/ptr: deprecate ptr.To, use Go 1.26 new 2026-03-05 20:13:18 -08:00
hostinfo_windows.go types/ptr: deprecate ptr.To, use Go 1.26 new 2026-03-05 20:13:18 -08:00
hostinfo.go types/ptr: deprecate ptr.To, use Go 1.26 new 2026-03-05 20:13:18 -08:00
packagetype_container.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00