envconfig

package
v0.0.0-...-1056671 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidSpec      = errors.New("invalid spec")
	ErrMissingRequired  = errors.New("missing required value")
	ErrUnknownFieldType = errors.New("unknown field type")
	ErrInvalidMapItem   = errors.New("invalid map item")
)

Functions

func MustProcess

func MustProcess(spec any, prefix ...string)

func Process

func Process(spec any, prefix ...string) error

Types

type Setter

type Setter interface {
	Set(s string) error
}

Jump to

Keyboard shortcuts

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