evcc-io/util/templates/paramtype.go
2024-03-29 12:21:04 +01:00

15 lines
253 B
Go

package templates
type ParamType int
//go:generate enumer -type ParamType -trimprefix Type -text
const (
TypeString ParamType = iota // default type string
TypeBool
TypeChoice
TypeChargeModes
TypeDuration
TypeFloat
TypeNumber
TypeStringList
)