Versions in this module Expand all Collapse all v0 v0.1.1 Oct 13, 2019 v0.1.0 Oct 13, 2019 Changes in this version + type Definition struct + PackageComment string + PackageName string + Services []Service + func (d Definition) Source() string + func (d Definition) String() string + func (d Definition) Structure(name string) *Structure + func (d Definition) Valid() error + type Field struct + Comment string + Name string + Type Type + func (f Field) IsExported() bool + func (f Field) String() string + type Method struct + Comment string + Name string + RequestStructure Structure + ResponseStructure Structure + func (m Method) String() string + type Service struct + Comment string + Methods []Method + Name string + Structures []Structure + func (s *Service) EnsureStructure(structure Structure) + func (s Service) String() string + type Structure struct + Comment string + Fields []Field + IsImported bool + IsRequestObject bool + IsResponseObject bool + Name string + func (s Structure) FieldsOfType(typename string) []Field + func (s Structure) HasField(field string) bool + func (s Structure) HasFields() bool + func (s Structure) String() string + type Type struct + IsImported bool + IsMultiple bool + IsStruct bool + Name string