valueordefault

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInt64ValueOrDefault

func GetInt64ValueOrDefault(data, defaultValue int64) int64

func GetInterfaceValueOrDefault

func GetInterfaceValueOrDefault(data, defaultValue interface{}) interface{}

func GetMapStringStringValueOrDefault

func GetMapStringStringValueOrDefault(data, defaultValue map[string]string) map[string]string

func GetPathOrCurrentPath

func GetPathOrCurrentPath(path string) string

func GetSliceStringValueOrDefault

func GetSliceStringValueOrDefault(data, defaultValue []string) []string

func GetStringValueOrDefault

func GetStringValueOrDefault(data, defaultValue string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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