mirror of https://github.com/tailscale/tailscale/
cmd/cloner: unify switch cases
And in the process, fix a bug: The fmt formatting was being applied by writef, not fmt.Sprintf, thus emitting a MISSING string. And there's no guarantee that fmt will be imported in the generated code. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>josh/immutable-views
parent
d8a8f70000
commit
d5a0a4297e
Loading…
Reference in New Issue