util

package
v1.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(source []interface{}, search interface{}) bool

func ContainsKey added in v1.0.3

func ContainsKey(mapObject map[string]interface{}, key string) bool

func ContainsString

func ContainsString(source []string, search string) bool

func ContainsVersion

func ContainsVersion(source []interface{}, search *version.Version) bool

func ConvertToFloat64

func ConvertToFloat64(source interface{}) float64

func ConvertToInt32

func ConvertToInt32(source interface{}) int32

func Min

func Min(x, y int) int

func SafeGetValue added in v1.0.3

func SafeGetValue(mapObject map[string]interface{}, key string) (interface{}, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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