sourceenv

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Source

func Source[T any](envPrefix string) clicfg.SourceFunc[T]

Source updates config with environment variable value. A structure that can be set using A.B.C = 42 can be set through the environment variable named A_B_C = "42". Additional env values can be used with the `env` go tag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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