datautils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeMaps

func MergeMaps(maps ...map[string]interface{}) map[string]interface{}

MergeMaps merges any number of maps together, with maps later in the slice taking precedent

func RenderTemplateFields

func RenderTemplateFields(data map[string]interface{}, input map[string]interface{}) error

RenderTemplateFields recursively processes the input map, rendering any string fields using the data map.

func ToJSONMap

func ToJSONMap(data interface{}) (map[string]interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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