gternary

package
v0.0.0-...-04ff805 Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CondExpr

type CondExpr bool

func If

func If(flag bool) CondExpr

func (CondExpr) Float64

func (ce CondExpr) Float64(yes, no float64) float64

func (CondExpr) Int

func (ce CondExpr) Int(yes, no int) int

func (CondExpr) Int64

func (ce CondExpr) Int64(yes, no int64) int64

func (CondExpr) Int8

func (ce CondExpr) Int8(yes, no int8) int8

func (CondExpr) Interface

func (ce CondExpr) Interface(yes, no interface{}) interface{}

func (CondExpr) String

func (ce CondExpr) String(yes, no string) string

func (CondExpr) Uint

func (ce CondExpr) Uint(yes, no uint) uint

func (CondExpr) Uint64

func (ce CondExpr) Uint64(yes, no uint64) uint64

func (CondExpr) Uint8

func (ce CondExpr) Uint8(yes, no uint8) uint8

Jump to

Keyboard shortcuts

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