better naming for VariantType struct

This commit is contained in:
Baipyrus 2024-08-31 21:11:27 +02:00
parent 7c52c2d5d0
commit c5ed0be5f2

View File

@ -7,16 +7,16 @@ type Config struct {
Unset []*Variant `json:"unset,omitempty"`
}
type Type string
type VariantType string
const (
TEXT Type = "text"
VARIABLE Type = "variable"
TEXT VariantType = "text"
VARIABLE VariantType = "variable"
)
type Variant struct {
Arguments []string `json:"args"`
Type Type `json:"type,omitempty"`
Type VariantType `json:"type,omitempty"`
Equator string `json:"equator,omitempty"`
}