Versions in this module Expand all Collapse all v1 v1.0.0 Oct 20, 2021 Changes in this version + type Const struct + Name string + Type *Type + Value *Value + type Definition struct + Const *Const + Enum *Enum + Service *Service + Struct *Struct + Typedef *Typedef + type Enum struct + Constants []*EnumConstant + Name string + type EnumConstant struct + Name string + Value *int + type Field struct + ID int + Name string + Optional bool + Type *Type + type File struct + Definitions []*Definition + Headers []*Header + func ParseBytes(data []byte, filename ...string) (*File, error) + func ParseString(data string, filename ...string) (*File, error) + func (f File) GetDefinition(name string) *Definition + func (f File) GetNamespace(language string) *Namespace + type Header struct + Include *Include + Namespace *Namespace + type Include struct + Path string + type MapItem struct + Key *Value + Value *Value + type Method struct + Arguments []*Field + Name string + Oneway bool + Throws []*Field + Type *Type + Void bool + type Namespace struct + Language string + Name string + type Service struct + Extends *string + Methods []*Method + Name string + type Struct struct + Fields []*Field + Name string + Type string + type Type struct + Arguments []*Type + Name string + type Typedef struct + Name string + Type *Type + type Value struct + Int *float64 + List []*Value + Map []*MapItem + Reference string + String *string