example

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: Apache-2.0, BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Overview

Code generated by go generate; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PanicOnErr

func PanicOnErr(err error)

PanicOnErr panics if err is not nil.

func PanicOnErr1

func PanicOnErr1[T1 any](arg1 T1, err error) T1

PanicOnErr1 panics if err is not nil and otherwise returns the remaining 1 generic parameters.

func PanicOnErr2

func PanicOnErr2[T1, T2 any](arg1 T1, arg2 T2, err error) (T1, T2)

PanicOnErr2 panics if err is not nil and otherwise returns the remaining 2 generic parameters.

func PanicOnErr3

func PanicOnErr3[T1, T2, T3 any](arg1 T1, arg2 T2, arg3 T3, err error) (T1, T2, T3)

PanicOnErr3 panics if err is not nil and otherwise returns the remaining 3 generic parameters.

func PanicOnErr4

func PanicOnErr4[T1, T2, T3, T4 any](arg1 T1, arg2 T2, arg3 T3, arg4 T4, err error) (T1, T2, T3, T4)

PanicOnErr4 panics if err is not nil and otherwise returns the remaining 4 generic parameters.

func PanicOnErr5

func PanicOnErr5[T1, T2, T3, T4, T5 any](arg1 T1, arg2 T2, arg3 T3, arg4 T4, arg5 T5, err error) (T1, T2, T3, T4, T5)

PanicOnErr5 panics if err is not nil and otherwise returns the remaining 5 generic parameters.

func PanicOnErr6

func PanicOnErr6[T1, T2, T3, T4, T5, T6 any](arg1 T1, arg2 T2, arg3 T3, arg4 T4, arg5 T5, arg6 T6, err error) (T1, T2, T3, T4, T5, T6)

PanicOnErr6 panics if err is not nil and otherwise returns the remaining 6 generic parameters.

func PanicOnErr7

func PanicOnErr7[T1, T2, T3, T4, T5, T6, T7 any](arg1 T1, arg2 T2, arg3 T3, arg4 T4, arg5 T5, arg6 T6, arg7 T7, err error) (T1, T2, T3, T4, T5, T6, T7)

PanicOnErr7 panics if err is not nil and otherwise returns the remaining 7 generic parameters.

func PanicOnErr8

func PanicOnErr8[T1, T2, T3, T4, T5, T6, T7, T8 any](arg1 T1, arg2 T2, arg3 T3, arg4 T4, arg5 T5, arg6 T6, arg7 T7, arg8 T8, err error) (T1, T2, T3, T4, T5, T6, T7, T8)

PanicOnErr8 panics if err is not nil and otherwise returns the remaining 8 generic parameters.

func PanicOnErr9

func PanicOnErr9[T1, T2, T3, T4, T5, T6, T7, T8, T9 any](arg1 T1, arg2 T2, arg3 T3, arg4 T4, arg5 T5, arg6 T6, arg7 T7, arg8 T8, arg9 T9, err error) (T1, T2, T3, T4, T5, T6, T7, T8, T9)

PanicOnErr9 panics if err is not nil and otherwise returns the remaining 9 generic parameters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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