configutil

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2018 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadYAML

func LoadYAML(r io.Reader, cfg interface{}) error

func LoadYAMLFile

func LoadYAMLFile(path string, cfg interface{}) error

NOTE: not using gommon/config because it will change very soon

func SaveYAML

func SaveYAML(cfg interface{}) ([]byte, error)

func SaveYAMLFile

func SaveYAMLFile(path string, cfg 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