Versions in this module Expand all Collapse all v2 v2.1.4 May 14, 2021 v2.1.3 Apr 25, 2021 Changes in this version + const GenerateFileSuffix + func EntryPointPackageName(filename string) (string, string, error) + 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 PackageFiles struct + AstFiles []*ast.File + PackageName string + PackagePath string + func GetDependenciesAstFiles(filename string) ([]PackageFiles, error) + type PackageInfo struct + Dir string + EntryPoint string + Imports []*ast.ImportSpec + ImportsIncludedToGeneratedCode []*ast.ImportSpec + PackageName string + PackageNamesAndAliasesUsedInServices map[string]struct{} + PackagePath string + Scopes map[string][]*ast.Scope + Services []*Service + Structs map[string]*Struct + func NewPackageInfo(filename string) (*PackageInfo, error) + func (pi *PackageInfo) Parse(filename string) error + func (pi PackageInfo) OutputFilename() string + 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 Other modules containing this package github.com/zohar-soul/zenrpc