util

package
v1.2.0-image Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadJsonOrYaml added in v1.2.0

func LoadJsonOrYaml(filename string, addr interface{}) error

Loads either a YAML or JSON file from the specified path and deserialises it into the provided interface.

func Merge

func Merge(in1 *map[string]interface{}, in2 *map[string]interface{}) *map[string]interface{}

Merges two maps together. Values from the second map override values in the first map. The returned map is new if anything was changed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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