Documentation
¶
Overview ¶
Package cmp backports the small subset of Go's cmp package used by Tailscale.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Compare ¶
func Compare[T constraints.Ordered](x, y T) int
func Or ¶
func Or[T comparable](vals ...T) T
Types ¶
type Ordered ¶
type Ordered = constraints.Ordered
Click to show internal directories.
Click to hide internal directories.