util

package
v1.0.30-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBoolDefault

func GetBoolDefault(value1 bool, value2 bool) bool

func GetFloat64Default

func GetFloat64Default(value1 float64, value2 float64) float64

func GetIntDefault

func GetIntDefault(value1 int, value2 int) int

func GetMapKeys

func GetMapKeys(m map[interface{}]interface{}) []interface{}

func GetMapValues

func GetMapValues(m map[interface{}]interface{}) []interface{}

func GetStringDefault

func GetStringDefault(value1 string, value2 string) string

func LogPanic

func LogPanic(err error)

func Ternary

func Ternary(expression bool, result1 interface{}, result2 interface{}) interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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