aboutsummaryrefslogtreecommitdiffstats
path: root/doc.go
blob: 1a9f0c1e9bdf1b7e5ea53745cb9ba746e03ea290 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// Envelope provides functionality to populate Go structs from environment variables.
//
// The main function, LoadFromEnv, takes a pointer to a struct and looks for fields
// with the `env` tag. It then attempts to load the corresponding environment variables
// and parse them into the appropriate types.
//
// This package supports a wide range of built-in types and allows for extension through
// custom type parsers. It also handles nested structs, with the parent field's `env` tag
// serving as a prefix for all fields in the nested struct.
//
// See the documentation for LoadFromEnv for more details and examples.
package envelope