dconfig

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseENV

func ParseENV(cfg interface{}) error

ParseENV parse config from system environment variables tag: env

func ParseJsonFromFile

func ParseJsonFromFile(cfg interface{}, filePath string) error

ParseJsonFromFile parse json type config from local file tag: json

func ParseXMLFromFile

func ParseXMLFromFile(cfg interface{}, filePath string) error

ParseXMLFromFile parse xml type config from local file tag: xml

func ParseYamlFromFile

func ParseYamlFromFile(cfg interface{}, filePath string) error

ParseYamlFromFile parse yaml type config from local file tag: yaml

Types

This section is empty.

Jump to

Keyboard shortcuts

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