convertops

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertMapToYaml

func ConvertMapToYaml(m *map[interface{}]interface{}) string

* 将map序列化成yaml字符串

func ConvertStrMapToYaml

func ConvertStrMapToYaml(m *map[string]interface{}) string

* 将string map序列化成yaml字符串

func ConvertYamlToMap

func ConvertYamlToMap(ymlString string) map[interface{}]interface{}

* 将yaml字符串反序列化成map对象

func StrValOfInterface

func StrValOfInterface(val interface{}) string

func StrValOfType

func StrValOfType(val interface{}) string

* 获取val变量对应类型的字符串值

Types

This section is empty.

Jump to

Keyboard shortcuts

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