util

package
v0.5.10 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertMapToString

func ConvertMapToString(item map[string]string) (string, error)

ConvertMapToString converts a map to a string

func ConvertStringToMap

func ConvertStringToMap(item string) (map[string]string, error)

ConvertStringToMap converts a string into a map

func ConvertToJSON

func ConvertToJSON(item interface{}) (string, error)

ConvertToJSON convert object to json

func InArray

func InArray(str string, arr []string) bool

InArray validates if a string in array

func IsEmpty

func IsEmpty(item string) bool

IsEmpty validate if string is empty or not

func LoadFromJSON

func LoadFromJSON(item interface{}, data []byte) error

LoadFromJSON update object from json

Types

This section is empty.

Jump to

Keyboard shortcuts

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