kv

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKeys

func GetKeys(path string) (map[string]interface{}, error)

Types

type Diff

type Diff struct {
	Added, Removed map[string]string
}

func CalculateDiff

func CalculateDiff(oldMap, newMap map[string]interface{}) Diff

func (*Diff) Append

func (d1 *Diff) Append(d2 Diff)

func (Diff) Apply

func (d Diff) Apply(prefix string)

func (Diff) Print

func (d Diff) Print(prefix string)

type KV

type KV struct {
	Key   string
	Value string
}

Jump to

Keyboard shortcuts

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