utils

package
v0.0.0-...-e5d1c0a Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckKeyByMap

func CheckKeyByMap(m map[string]interface{}, key string) bool

func CopeyListMapToStruct

func CopeyListMapToStruct(isNeedLower bool, input interface{}, output interface{}) error

func CopeyMapToStruct

func CopeyMapToStruct(isNeedLower bool, input interface{}, output interface{}) error

func GetkeysByMap

func GetkeysByMap(m map[string]interface{}) []string

func JsonMarshal

func JsonMarshal(data interface{}) (jsonRaw []byte)

func ListIntToString

func ListIntToString(s []int) (str string)

func ListStringToString

func ListStringToString(s []string) (str string)

func ListToString

func ListToString(s []string) (str string)

func PraseInterfaceToString

func PraseInterfaceToString(val interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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