tailscale/util/codegen
Brad Fitzpatrick 00be1761b7 util/codegen: treat unique.Handle as an opaque value type
It doesn't need a Clone method, like a time.Time, etc.

And then, because Go 1.23+ uses unique.Handle internally for
the netip package types, we can remove those special cases.

Updates #14058 (pulled out from that PR)
Updates tailscale/corp#24485

Change-Id: Iac3548a9417ccda5987f98e0305745a6e178b375
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-11-11 12:39:19 -08:00
..
codegen.go util/codegen: treat unique.Handle as an opaque value type 2024-11-11 12:39:19 -08:00
codegen_test.go util/codegen: treat unique.Handle as an opaque value type 2024-11-11 12:39:19 -08:00