Versions in this module Expand all Collapse all v1 v1.1.0 Aug 24, 2019 v1.0.1 Dec 27, 2017 Changes in this version type PackageInfo + Dir string v1.0.0 Nov 17, 2017 Changes in this version + const GenerateFileSuffix + type Arg struct + CapitalName string + Description string + HasDefaultValue bool + HasStar bool + JsonName string + Name string + SMDType SMDType + Type string + type DefaultValue struct + CapitalName string + Comment string + Name string + Type string + Value string + type Method struct + Args []Arg + DefaultValues map[string]DefaultValue + Description string + Errors []SMDError + FuncDecl *ast.FuncType + HasContext bool + LowerCaseName string + Name string + Returns []Return + SMDReturn *SMDReturn + type PackageInfo struct + Imports []*ast.ImportSpec + ImportsForGeneration []*ast.ImportSpec + PackageName string + Scopes map[string][]*ast.Scope + Services []*Service + Structs map[string]*Struct + StructsNamespacesFromArgs map[string]struct{} + func NewPackageInfo() *PackageInfo + func (pi *PackageInfo) Parse(filename string) (string, error) + func (pi PackageInfo) String() string + type Property struct + Description string + Name string + SMDType SMDType + type Return struct + Name string + Type string + type SMDError struct + Code int + Description string + type SMDReturn struct + Description string + HasStar bool + Name string + SMDType SMDType + type SMDType struct + ItemsType string + Ref string + Type string + type Service struct + Description string + GenDecl *ast.GenDecl + Methods []*Method + Name string + func (s Service) HasErrorVariable() bool + type Struct struct + Name string + Namespace string + Properties []Property + StructType *ast.StructType + Type string + func Definitions(smdType SMDType, structs map[string]*Struct) []*Struct