zero

package module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float32OrDefault added in v0.0.2

func Float32OrDefault(value interface{}, defaultValue float32) float32

func Float32OrZero added in v0.0.2

func Float32OrZero(value interface{}) float32

func Float64OrDefault added in v0.0.2

func Float64OrDefault(value interface{}, defaultValue float64) float64

func Float64OrZero added in v0.0.2

func Float64OrZero(value interface{}) float64

func Int16OrDefault

func Int16OrDefault(value interface{}, defaultValue int16) int16

func Int16OrZero

func Int16OrZero(value interface{}) int16

func Int32OrDefault

func Int32OrDefault(value interface{}, defaultValue int32) int32

func Int32OrZero

func Int32OrZero(value interface{}) int32

func Int64OrDefault

func Int64OrDefault(value interface{}, defaultValue int64) int64

func Int64OrZero

func Int64OrZero(value interface{}) int64

func Int8OrDefault

func Int8OrDefault(value interface{}, defaultValue int8) int8

func Int8OrZero

func Int8OrZero(value interface{}) int8

func IntOrDefault

func IntOrDefault(value interface{}, defaultValue int) int

func IntOrZero

func IntOrZero(value interface{}) int

func StringOrDefault

func StringOrDefault(value interface{}, defaultValue string) string

func StringOrZero

func StringOrZero(value interface{}) string

func Uint16OrDefault

func Uint16OrDefault(value interface{}, defaultValue uint16) uint16

func Uint16OrZero

func Uint16OrZero(value interface{}) uint16

func Uint32OrDefault

func Uint32OrDefault(value interface{}, defaultValue uint32) uint32

func Uint32OrZero

func Uint32OrZero(value interface{}) uint32

func Uint64OrDefault

func Uint64OrDefault(value interface{}, defaultValue uint64) uint64

func Uint64OrZero

func Uint64OrZero(value interface{}) uint64

func Uint8OrDefault

func Uint8OrDefault(value interface{}, defaultValue uint8) uint8

func Uint8OrZero

func Uint8OrZero(value interface{}) uint8

func UintOrDefault

func UintOrDefault(value interface{}, defaultValue uint) uint

func UintOrZero

func UintOrZero(value interface{}) uint

Types

This section is empty.

Jump to

Keyboard shortcuts

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