Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
func Check(err error)
Check will log an error using log.Fatal() if err is not nil, otherwise nothing happens.
func Contains ¶ added in v0.0.10
func Contains[T comparable](elems []T, v T) bool
Contains looks inside a slice to see if a specific element exists. This is not fast, and intended only when the length of the slice is small as a linear search is used.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.