try

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Try

func Try(f func()) (err error)

func Try1

func Try1[V1 any](f func() V1) (v1 V1, err error)

func Try2

func Try2[V1, V2 any](f func() (V1, V2)) (v1 V1, v2 V2, err error)

func Try3

func Try3[V1, V2, V3 any](f func() (V1, V2, V3)) (v1 V1, v2 V2, v3 V3, err error)

func Try4

func Try4[V1, V2, V3, V4 any](f func() (V1, V2, V3, V4)) (v1 V1, v2 V2, v3 V3, v4 V4, err error)

func Try5

func Try5[V1, V2, V3, V4, V5 any](f func() (V1, V2, V3, V4, V5)) (v1 V1, v2 V2, v3 V3, v4 V4, v5 V5, err error)

func Try6

func Try6[V1, V2, V3, V4, V5, V6 any](f func() (V1, V2, V3, V4, V5, V6)) (v1 V1, v2 V2, v3 V3, v4 V4, v5 V5, v6 V6, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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