cfg

package
v0.0.0-...-4ca8788 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectFilesForSuffixes

func CollectFilesForSuffixes(file string, fileSuffixes []string) (ret []string)

func LoadConfig

func LoadConfig(config interface{}, file string, fileSuffixes []string, properties map[string]string) (err error)

func LoadEnvAndProperties

func LoadEnvAndProperties(files []string, fileSuffixes []string) (ret map[string]string, err error)

func ReadFileBindToProperties

func ReadFileBindToProperties(file string, params map[string]string) (data bytes.Buffer, err error)

func Unmarshal

func Unmarshal(config interface{}, files []string, fileSuffixes []string) (err error)

func UnmarshalFile

func UnmarshalFile(config interface{}, file string) (err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL