package
Version:
v0.6.0-beta
Opens a new window with list of versions in this module.
Published: Mar 20, 2023
License: BlueOak-1.0.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Data generates a config []byte data from a settings map.
Mapify takes an interface with ini tags, and parses it into
a settings map. obj must be a pointer to a struct.
Parse returns a collection of all key-value options in the provided config
file path or []byte data.
func ParseInto(cfgPathOrData, obj interface{}) error
ParseInto parses config options from the provided config file path or []byte
data into the specified interface.
Unmapify parses config options from the provided settings map into the
specified interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.