package
0.0.0-20241111182353-c1fbc2c9b65f
Repository: https://github.com/triangleside/gotools.git
Documentation: pkg.go.dev
# Functions
Process sets the value of the struct fields from the associated environment variables.
ProcessAndValidate sets the value of the struct fields from the associated environment variables.
WithPrefix sets the prefix to look for in the environment variables.
# Constants
DefaultTag is the default to use in case there is no environment variable that matches the formatted field name.
FormatTag is the field name pre-processor.
FormatTypeSnake tells the processor to transform the field name into snake-case.
# Type aliases
Option is used to set parameters for the environment variable processor.