package
0.7.0
Repository: https://github.com/twelvelabs/stamp.git
Documentation: pkg.go.dev

# Functions

DataTypeNames returns a list of possible string values of DataType.
GetTransformer returns the transformer registered for name.
InputModeNames returns a list of possible string values of InputMode.
NewDataMap returns a new, empty DataMap.
NewValue returns a new Value struct for the given map of data.
NewValueSet returns a new ValueSet.
ParseDataType attempts to convert a string to a DataType.
ParseInputMode attempts to convert a string to a InputMode.
ParsePromptConfig attempts to convert a string to a PromptConfig.
PromptConfigNames returns a list of possible string values of PromptConfig.
No description provided by the author
No description provided by the author
StringTransformerFunc accepts a string function and returns a TransformerFunc that delegates to it.
No description provided by the author
No description provided by the author

# Constants

DataTypeBool is a DataType of type bool.
DataTypeInt is a DataType of type int.
DataTypeIntSlice is a DataType of type intSlice.
DataTypeString is a DataType of type string.
DataTypeStringSlice is a DataType of type stringSlice.
InputModeArg is a InputMode of type arg.
InputModeFlag is a InputMode of type flag.
InputModeHidden is a InputMode of type hidden.
PromptConfigAlways is a PromptConfig of type always.
PromptConfigNever is a PromptConfig of type never.
PromptConfigOnEmpty is a PromptConfig of type on-empty.
PromptConfigOnUnset is a PromptConfig of type on-unset.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
ValueSet is a unique set of Values (identified by Value.Key).

# Type aliases

DataMap is a shared data structure that each value uses when rendering.
Specifies the data type of a [value].
Determines how the [value] can be set.
Determines when a [value] should prompt for input.
TransformerFunc is a function used to process value data.