x

package
v0.9.1-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IfThenElse

func IfThenElse[T any](c bool, thenVal, elseVal T) T

func IfThenElseExec

func IfThenElseExec[T any](c bool, thenFunc func() T, elseFunc func() T) T

func IfThenElseExecErr

func IfThenElseExecErr[T any](c bool, thenFunc func() (T, error), elseFunc func() (T, error)) (T, error)

Types

This section is empty.

Directories

Path Synopsis
opentelemetry

Jump to

Keyboard shortcuts

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