config

package
v0.0.0-...-0d649eb Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromFile

func FromFile(path string, obj interface{}) error

FromFile reads the configuration object from the file at path. Supported extensions are `json` and `yaml`.

func ToFile

func ToFile(path string, obj interface{}) error

ToFile writes the configuration object to a file at path. Supported extensions are `json` and `yaml`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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