funcx

package
v0.13.5 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNoError

func MustNoError[T any](t T, e error) T

MustNoError is similar to NoError, but it panics if the given error is not nil, it is usually a nice helper for chain function calling.

func MustNoError2

func MustNoError2[T, U any](t T, u U, e error) (T, U)

MustNoError2 is similar to NoError2, but it panics if the given error is not nil, it is usually a nice helper for chain function calling.

func MustNoError3

func MustNoError3[T, U, V any](t T, u U, v V, e error) (T, U, V)

MustNoError3 is similar to NoError3, but it panics if the given error is not nil, it is usually a nice helper for chain function calling.

func MustNoError4

func MustNoError4[T, U, V, W any](t T, u U, v V, w W, e error) (T, U, V, W)

MustNoError4 is similar to NoError4, but it panics if the given error is not nil, it is usually a nice helper for chain function calling.

func NoError

func NoError[T any](t T, _ error) T

NoError ignores the given error, it is usually a nice helper for chain function calling.

func NoError2

func NoError2[T, U any](t T, u U, _ error) (T, U)

NoError2 ignores the given error, it is usually a nice helper for chain function calling.

func NoError3

func NoError3[T, U, V any](t T, u U, v V, _ error) (T, U, V)

NoError3 ignores the given error, it is usually a nice helper for chain function calling.

func NoError4

func NoError4[T, U, V, W any](t T, u U, v V, w W, _ error) (T, U, V, W)

NoError4 ignores the given error, it is usually a nice helper for chain function calling.

Types

This section is empty.

Jump to

Keyboard shortcuts

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