util

package module
v0.0.0-...-402f6c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleFatal

func HandleFatal(err error)

func LoadInput

func LoadInput(fname string) (input []byte, err error)

func Min

func Min[T cmp.Ordered](vals ...T) (min T, err error)

Returns the minimum value of given Orderables DEPRECATED -- go 1.21 also introduced min/max funcs

func PrintMap

func PrintMap[K comparable, V any](m map[K]V)

func PrintSlice

func PrintSlice[T any](s []T)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL