Co-authored-by: Maschga <88616799+Maschga@users.noreply.github.com> Co-authored-by: andig <cpuidle@gmail.com> Co-authored-by: andig <andi@evcc.io>
17 lines
280 B
Go
17 lines
280 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
|
|
TypeZones
|
|
TypePricePerKWh
|
|
)
|