conditional

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conditional

type Conditional[A any] struct {
}

func NewConditional

func NewConditional[A any]() *Conditional[A]

func (*Conditional[A]) If

func (c *Conditional[A]) If(condition bool, trueRes A, falseRes A) A

Directories

Path Synopsis
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

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