var_handler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VarHandler

type VarHandler struct {
	VarMap map[string]string
}

func NewVarHandler

func NewVarHandler(vars map[string]string) *VarHandler

func (*VarHandler) ListToVars

func (v *VarHandler) ListToVars(listVarName, newVarPrefix string) error

ListToVars splits the value of one of its variables, and creates a new indexed variable for each of the items in the split.

func (*VarHandler) ReplaceAll

func (v *VarHandler) ReplaceAll(s string) string

Jump to

Keyboard shortcuts

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