package
Version:
v0.1.3
Opens a new window with list of versions in this module.
Published: Aug 18, 2022
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
LoadConfig loads config into v from file, .json, .yaml and .yml are acceptable.
func LoadConfigFromTomlBytes(content []byte, v interface{}) error
LoadConfigFromTomlBytes loads config into v from content toml bytes.
type Option func(opt *options)
Option defines the method to customize the config options.
UseEnv customizes the config to use environment variables.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.