yamlconfig

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(configFile string, in interface{}) error

func MustLoad

func MustLoad(configFile string, in interface{})

func ValidatePtr

func ValidatePtr(v *reflect.Value) error

Types

type YamlConfig

type YamlConfig struct {
	// contains filtered or unexported fields
}

func NewYamlConfig

func NewYamlConfig(cfg interface{}) (*YamlConfig, error)

Jump to

Keyboard shortcuts

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