store

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(filename string) bool

func Flatten

func Flatten(data map[string]interface{}) map[string]string

flatten converts a nested dict like {a: {b: c}, d: e} to a flatten one {a.b: c, d: e}

func Store

func Store() *store

Types

type Shortcuts

type Shortcuts map[string]string

func ReadConfig

func ReadConfig(fileName string) (Shortcuts, error)

Jump to

Keyboard shortcuts

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