Versions in this module Expand all Collapse all v0 v0.1.3 Jan 10, 2024 Changes in this version + type Annotation struct + Name string + func NewAnnotation(name string) Annotation + func Parse(s string) (*Annotation, error) + func (a *Annotation) Get(name string) Value + func (a *Annotation) Set(name string, value attrValue) + func (a *Annotation) String() string + type Definition struct + func NewDefinition(name string, allowUnknownParameters bool, parameters ...ParameterDefinition) Definition + func (d *Definition) Check(annotation Annotation) error + type ParameterDefinition struct + func NewParameterDefinition(name string, required bool, parameterType ValueType) ParameterDefinition + type Value interface + Bool func() bool + Float func() float64 + Int func() int + String func() string + Type func() ValueType + type ValueType string + const BOOL + const FLOAT + const INT + const STRING + const UNKNOWN