Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InterfaceEqual ¶
func InterfaceEqual(a, b interface{}) bool
InterfaceEqual protects against panics from doing equality tests on two interfaces with non-comparable underlying types. adapted from:
/usr/local/go/src/os/exec/exec.go (go 1.15.6)
func Max ¶
func Max[T Ordered](a, b T) T
Max returns the item that is greater as defined by the constraint type T. T must be an Ordered data type or
Types ¶
type Ordered ¶
type Ordered constraints.Ordered
Click to show internal directories.
Click to hide internal directories.