Documentation ¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Alt ¶
func Alt[A constraints.Integer](a A) func(b A) A
Example ¶
fmt.Println( Alt(1)(2), Alt(0)(2), )
Output: 1 2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.