envconf

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package envconf simplifies the process of loading environment variables into a struct.

It provides a straightforward way to manage application configuration through environment variables, a common practice in modern application development.

Additionally, envconf includes custom parsers for boolean values, enhancing the flexibility of handling different representations of boolean values in environment variables.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(v any) error

Parse parses the environment variables into the given struct.

It uses the default parsers from caarlos0/env, and adds some custom parsers for bool values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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