utils

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TagNameYaml = "yaml"
	TagNameJSON = "json"
	TagNameNone = ""
)

Variables

This section is empty.

Functions

func JsonMapToStruct

func JsonMapToStruct(in map[string]interface{}, out interface{}) error

JsonMapToStruct converts map to strict

func MapToStruct

func MapToStruct(tagName string, in map[string]interface{}, out interface{}) error

MapToStruct converts map to struct

func YamlInterfaceToStruct

func YamlInterfaceToStruct(in interface{}, out interface{}) error

YamlInterfaceToStruct converts map to struct

Types

This section is empty.

Jump to

Keyboard shortcuts

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