Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Max ¶
func Max[T constraints.Ordered](x, y T) T
Max returns the larger of the two specified values.
func Min ¶
func Min[T constraints.Ordered](x, y T) T
Min returns the smaller of the two specified values.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package require provides functions that to check conditions and panic when they are not met.
|
Package require provides functions that to check conditions and panic when they are not met. |
Package strings provides utility functions for working with strings.
|
Package strings provides utility functions for working with strings. |
format
Package format provides various time format constants as well as functions to work with time format strings.
|
Package format provides various time format constants as well as functions to work with time format strings. |
Click to show internal directories.
Click to hide internal directories.