util

package
v0.0.0-...-cf889e1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertValue

func ConvertValue(value string, dataType constant.DataType) (interface{}, error)

func Filter

func Filter[T any](ss []T, test func(T) bool) (ret []T)

func GetNumericDataType

func GetNumericDataType(value string) constant.DataType

func GetSliceFromInterface

func GetSliceFromInterface(value interface{}) []interface{}

func GetValueFromMap

func GetValueFromMap(key string, data map[string]interface{}) interface{}

func IsSlice

func IsSlice(v interface{}) bool

func IsValidInteger

func IsValidInteger(value string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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