Versions in this module Expand all Collapse all v2 v2.1.1 Mar 23, 2021 Changes in this version + type PackageFiles struct + AstFiles []*ast.File + PackageName string + PackagePath string type PackageInfo + ImportsIncludedToGeneratedCode []*ast.ImportSpec + PackageNamesAndAliasesUsedInServices map[string]struct{} + PackagePath string v2.1.0 Aug 11, 2020 Changes in this version + func EntryPointPackageName(filename string) (string, error) + func GetDependencies(entryPoint string) ([]string, error) + func GetDependenciesAstFiles(filename string) ([]*ast.File, error) type PackageInfo + EntryPoint string + func (pi PackageInfo) OutputFilename() string v2.0.0 Aug 11, 2020 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 + Dir string + 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) 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 Other modules containing this package github.com/semrush/zenrpc