Documentation ¶
Overview ¶
Package go2 contains general utility helpers that should've been in Go. Maybe they'll be in Go 2.0.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
func Contains[T comparable](els []T, el T) bool
func Max ¶
func Max[T constraints.Ordered](a, b T) T
func Min ¶
func Min[T constraints.Ordered](a, b T) T
func StringToIntHash ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.