Documentation
¶
Index ¶
- func TakeOne[T any](v T, err error) T
- func TakeOneBool[T any](v T, ok bool) bool
- func TakeOneDiscardBool[T any](v T, ok bool) T
- func TakeOneErr[T any](v T, err error) error
- func TakeThree[T, U, V any](a T, b U, c V, err error) (T, U, V)
- func TakeThreeErr[T, U, V any](a T, b U, c V, err error) error
- func TakeTwo[T, U any](a T, b U, err error) (T, U)
- func TakeTwoErr[T, U any](a T, b U, err error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TakeOneBool ¶ added in v0.0.6
func TakeOneDiscardBool ¶ added in v0.0.6
apache 2.0 antlabs
func TakeOneErr ¶
func TakeThreeErr ¶
func TakeTwoErr ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.