must

package
v0.0.34 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(ok bool) func(msg ...any)

func AssertFMT

func AssertFMT(ok bool) func(msg string, a ...any)

func Must

func Must[T any](r T, err error) func(msg string, args ...any) T

func One

func One(err error) func(msg string, args ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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