Versions in this module Expand all Collapse all v0 v0.0.2 Jan 1, 2023 Changes in this version + const EnumTemplate + func CharacteristicEnumDecl(metadata gen.Metadata) ([]byte, error) + func ServiceEnumDecl(metadata gen.Metadata) ([]byte, error) + type ByValue []ConstDecl + func (v ByValue) Len() int + func (v ByValue) Less(i, j int) bool + func (v ByValue) Swap(i, j int) + type Case struct + Comment string + Name string + Value string + func (c *Case) HasComment() bool + type ConstDecl struct + Identifier string + Value interface{} + type Enum struct + Cases []*Case + Name string + Super string + func (e *Enum) HasSuper() bool