conf

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2018 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read(path string, b []byte) (map[string]interface{}, error)

Read detects the config file type base on its extension or content, JSON actually gets decoded as YAML if no extension is present.

func ReadFile

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

ReadFile config file

Types

This section is empty.

Jump to

Keyboard shortcuts

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