Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Data

func Data(settings map[string]string) []byte

    Data generates a config []byte data from a settings map.

    func Parse

    func Parse(cfgPathOrData interface{}) (map[string]string, error)

      Parse returns a collection of all key-value options in the provided config file path or []byte data.

      func ParseInto

      func ParseInto(cfgPathOrData, obj interface{}) error

        ParseInto parses config options from the provided config file path or []byte data into the specified interface.

        func Unmapify

        func Unmapify(settings map[string]string, obj interface{}) error

          Unmapify parses config options from the provided settings map into the specified interface.

          Types

          This section is empty.

          Source Files