mirror of https://github.com/tailscale/tailscale/
cmd/cloner: generate a package-level Clone function
This Clone function knows how to clone any types
for which it has generated Clone methods.
This allows callers to efficiently clone
an inbound interface{} that might contain one of these types.
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
pull/741/head
parent
99d223130c
commit
7bd89359c9
Loading…
Reference in New Issue