opentofu/configs/variabletypehint_string.go
Martin Atkins 13fa73c63e configs: stub out main configuration structs
These types represent the individual elements within configuration, the
modules a configuration is made of, and the configuration (static module
tree) itself.
2018-02-15 15:56:37 -08:00

30 lines
684 B
Go

// Code generated by "stringer -type VariableTypeHint"; DO NOT EDIT.
package configs
import "strconv"
const (
_VariableTypeHint_name_0 = "TypeHintNone"
_VariableTypeHint_name_1 = "TypeHintListTypeHintMap"
_VariableTypeHint_name_2 = "TypeHintString"
)
var (
_VariableTypeHint_index_1 = [...]uint8{0, 12, 23}
)
func (i VariableTypeHint) String() string {
switch {
case i == 0:
return _VariableTypeHint_name_0
case 76 <= i && i <= 77:
i -= 76
return _VariableTypeHint_name_1[_VariableTypeHint_index_1[i]:_VariableTypeHint_index_1[i+1]]
case i == 83:
return _VariableTypeHint_name_2
default:
return "VariableTypeHint(" + strconv.FormatInt(int64(i), 10) + ")"
}
}