resolve

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expand

func Expand(input []byte, lookup func(string) (string, bool), opts Options) ([]byte, error)

Expand replaces ${VAR} tokens using a lookup function.

func ExpandEnv

func ExpandEnv(input []byte, opts Options) ([]byte, error)

ExpandEnv replaces ${VAR} with environment values.

Types

type Options

type Options struct {
	Strict bool // Whether unresolved tokens should error.
}

Options controls expansion behavior.

Jump to

Keyboard shortcuts

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