util

package
v1.0.0-beta.56 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ObjFlattenDelimiter = "."
)

Variables

View Source
var Service string = "tigris-server"

Service program name used in logging and monitoring.

View Source
var Version string

Version of this build.

Functions

func ExecTemplate

func ExecTemplate(w io.Writer, tmpl string, vars interface{}) error

func FlatMap

func FlatMap(data map[string]any, notFlat container.HashSet) map[string]any

func JSONToMap

func JSONToMap(data []byte) (map[string]any, error)

func MapToJSON

func MapToJSON(data map[string]any) ([]byte, error)

func UnFlatMap

func UnFlatMap(flat map[string]any) map[string]any

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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