tools

package
v0.0.0-...-00f8890 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: AGPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlatMap

func FlatMap(prefix string, mapData map[string]interface{}) map[string]interface{}

FlatMap 将一个map[string]interface打平

func ParseTpl

func ParseTpl(tpl string, data map[string]interface{}) string

ParseTpl 将tpl中的占位符 替换为真实值 ${data.0.att1}

func ToString

func ToString(arg interface{}) string

ToString toString

Types

This section is empty.

Jump to

Keyboard shortcuts

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