Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultPathSeparator = "/" DefaultValueSeparator = ":" )
Functions ¶
func FlattenedToString ¶
Types ¶
type MergeOptions ¶
type MergeResult ¶
func Merge ¶
func Merge(o MergeOptions) ([]MergeResult, error)
Merge merges a source folder of config files grouped by app assuming that each app folder contains a default.yaml and one or more slug.yaml (e.g. dev.yaml, prd.yaml, etc)
func (*MergeResult) FlattenToMap ¶
func (r *MergeResult) FlattenToMap() map[string]string
func (*MergeResult) FlattenToMapWithSep ¶
func (r *MergeResult) FlattenToMapWithSep(sep string) map[string]string
Click to show internal directories.
Click to hide internal directories.