resolver

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetValue

func GetValue(cliVal *string, envName, defVal string, isFlag bool) (string, error)

GetValue returns the value to bind based on priority: CLI > Env > Default.

Example:

val, err := resolver.GetValue(nil, "ENV_VAR", "default", false)

Types

This section is empty.

Jump to

Keyboard shortcuts

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