utils

package
v1.2.2-0...-a8c8fdf Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: MulanPSL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToBool

func ConvertToBool(v interface{}) (bool, bool)

ConvertToBool convert to bool

func ConvertToFloat64

func ConvertToFloat64(v interface{}) (float64, bool)

ConvertToFloat64 convert to float64

func ConvertToLower

func ConvertToLower(m map[string]string)

func ConvertToString

func ConvertToString(v interface{}) (string, bool)

ConvertToString convert to string

func DecodeYaml

func DecodeYaml(yamlStr string) (map[string]interface{}, error)

DecodeYaml decode yaml

func EncodeYaml

func EncodeYaml(yamlMap map[string]interface{}) (string, error)

EncodeYaml encode yaml

Types

This section is empty.

Jump to

Keyboard shortcuts

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