flat

package
v1.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Map

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

Map 将嵌套形式的 map 打平,map 必须是 map[string]interface{} 类型。

func Struct

func Struct(v interface{}) map[string]interface{}

Struct 将结构体的公开字段打平。

Types

This section is empty.

Jump to

Keyboard shortcuts

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