must

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Any

func Any(result any, possibleError error) any

func AnySlice

func AnySlice[T any](result []T, possibleError error) []T

func AnyType

func AnyType[T any](result T, possibleError error) T

func EnvVarValue

func EnvVarValue(envVarName string) string

func String

func String(result string, possibleError error) string

String is more explicitly telling than Any to expect a string

func Void

func Void(possibleError error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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