David Anderson 9ad36d17a3 version: undo previous "optimization", do more work lazily
Commit 59c254579ea63c669ffb3b5031e51288422c5194 moved a lot of work
from functions that could be eliminated at compile time (because
tests against runtime.GOOS are compile-time constant), into code
that must always run before main().

So, revert that, and instead optimize the package only by moving the
remaining string processing code behind sync.Onces.

Signed-off-by: David Anderson <danderson@tailscale.com>
2023-02-10 15:27:14 -08:00
..