Documentation ¶
Overview ¶
Package reader parses change sets and provides config values
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceEnvVars ¶ added in v1.2.0
Types ¶
type Options ¶ added in v0.5.0
func NewOptions ¶ added in v0.5.0
type Reader ¶
type Reader interface { Merge(...*source.ChangeSet) (*source.ChangeSet, error) Values(*source.ChangeSet) (Values, error) String() string }
Reader is an interface for merging changesets
type Value ¶
type Value interface { Bool(def ...bool) bool Int(def ...int) int Int8(def ...int8) int8 Int32(def ...int32) int32 Int64(def ...int64) int64 String(def ...string) string Float64(def ...float64) float64 Float32(def ...float32) float32 Duration(def ...time.Duration) time.Duration StringSlice(def ...[]string) []string StringMap(def ...map[string]string) map[string]string Scan(val interface{}) error Bytes() []byte }
Value represents a value of any type
Click to show internal directories.
Click to hide internal directories.