evcc-io/util/templates/paramtype.go
2025-02-12 09:49:31 +01:00

15 lines
252 B
Go

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