confgetter

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Builder

func Builder() config.Builder

func CastingError

func CastingError(err error, key string, rawVal interface{}, confType string) error

func CollectUnresolvedParams

func CollectUnresolvedParams(val reflect.Value, params config.ConfParams, confMap ConfGetter, typeList map[string]string) []string

func KeyNotFoundError

func KeyNotFoundError(key string) error

func NewConfgetterWrapper

func NewConfgetterWrapper(instance map[string]interface{}) confgetterWrapper

func ReadConf

func ReadConf(conf interface{}, resolver config.ConfParamsResolver, env string) (config.Config, error)

Types

type ConfGetter

type ConfGetter map[string]interface{}

Directories

Path Synopsis
repos

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳