util

package
v0.0.0-...-5d3eeaa Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DynamicConst = "dyn:"

Variables

View Source
var DynamicValues map[string]Dynamic

Functions

func DynamicInputByte

func DynamicInputByte(input *[]byte)

func DynamicInputString

func DynamicInputString(input *string)

func IsDynamicInput

func IsDynamicInput(expectedByte, responseByte []byte) bool

func PrePopulateDynamicValues

func PrePopulateDynamicValues(dynamicValuePath string)

func PrintDynamicValue

func PrintDynamicValue()

func RemoveDynamicValuesFile

func RemoveDynamicValuesFile(dynamicValuesPath string)

TODO: might not need

func SaveDynamicValuesToFile

func SaveDynamicValuesToFile(dynamicValuesPath string)

Types

type Dynamic

type Dynamic struct {
	Value    string
	CastType string // can be: string | non-string
}

Jump to

Keyboard shortcuts

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