Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/caarlos0/env
/ types & classes
Types & classes
57 in github.com/caarlos0/env
⨍
Functions
212
◇
Types & classes
57
↓ 2 callers
TypeAlias
ConstT
env_test.go:1237
↓ 2 callers
TypeAlias
CustomKey
env_test.go:497
↓ 2 callers
TypeAlias
T
env_test.go:1265
↓ 1 callers
Struct
Customval
env_test.go:528
↓ 1 callers
TypeAlias
Issue308Map
env_test.go:2053
↓ 1 callers
TypeAlias
MyTime
env_test.go:1572
↓ 1 callers
TypeAlias
U
env_test.go:1321
↓ 1 callers
TypeAlias
custommap
env_test.go:480
↓ 1 callers
TypeAlias
customslice
env_test.go:1556
Struct
API
env_test.go:1629
Struct
AggregateError
AggregateError is an aggregated error wrapper to combine gathered errors. This allows either to display all errors or convert them individually List o
error.go:20
Struct
ComplexConfig
env_test.go:1661
Struct
ComplexConfig2
env_test.go:1704
Struct
Conf
env_test.go:1858
Struct
ConfRequired
env_test.go:1878
Struct
Config
example_test.go:12
Struct
Config
env_test.go:35
Struct
ConstT
env_test.go:1348
Struct
CustomKey
env_test.go:514
TypeAlias
Customval
env_test.go:560
Struct
EmptyVarError
EmptyVarError occurs when the variable which must be not empty is existing but has an empty value
error.go:134
Struct
FieldParams
FieldParams contains information about parsed field tags.
env.go:548
Struct
FieldParamsConfig
env_test.go:1796
Struct
ForNestedStruct
env_test.go:156
Struct
Inner
example_test.go:142
Struct
InnerStruct
env_test.go:151
Struct
Issue308
env_test.go:2049
Struct
LoadFileContentError
LoadFileContentError occurs when it's impossible to load the value from the file.
error.go:147
TypeAlias
LogLevel
env_test.go:1450
Struct
NestedStruct
env_test.go:160
Struct
NoParserError
NoParserError occurs when there is no parser provided for given type.
error.go:82
Struct
NoSupportedTagOptionError
NoSupportedTagOptionError occurs when the given tag is not supported. Built-in supported tags: "", "file", "required", "unset", "notEmpty", "expand",
error.go:98
Struct
NotStructPtrError
NotStructPtrError occurs when pass something that is not a pointer to a struct to Parse.
error.go:75
FuncType
OnSetFn
OnSetFn is a hook that can be run when a value is set.
env.go:122
Struct
Options
Options for the parser.
env.go:133
Struct
ParentStruct
env_test.go:144
Struct
ParseError
ParseError occurs when it's impossible to convert the value for given type.
error.go:60
Struct
ParseValueError
ParseValueError occurs when it's impossible to convert value using given parser.
error.go:162
FuncType
ParserFunc
ParserFunc defines the signature of a function that can be used within `Options`' `FuncMap`.
env.go:119
TypeAlias
Password
env_test.go:1993
Struct
Server
env_test.go:1625
Struct
Test
example_test.go:300
Struct
Test
env_test.go:1674
Struct
TestConfig
env_test.go:2073
Struct
Thing
example_test.go:234
Struct
Tree
env_test.go:1595
Struct
UsernameAndPassword
env_test.go:2004
Struct
VarIsNotSetError
VarIsNotSetError occurs when the required variable is not set.
error.go:116
Struct
bar
env_test.go:1114
Struct
config
example_test.go:180
Struct
config
env_test.go:427
Struct
foo
env_test.go:1110
Struct
onSetArgs
env_test.go:899
FuncType
processFieldFn
processFieldFn is a function which takes all information about a field and processes it.
env.go:125
Struct
unexportedConfig
env_test.go:1438
Struct
unmarshaler
env_test.go:21
Struct
user
env_test.go:166