utils

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check added in v0.5.0

func Check(err error)

Check checks the error and panics if not nil.

func Must

func Must[T any](val T, err error) T

Must checks the error and panics if not nil.

func SliceEqual added in v0.7.0

func SliceEqual[T comparable](l, r []T) bool

SliceEqual returns true if the two slices are equal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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