Documentation ¶ Index ¶ type GoStruct type Package func LoadPackage(goPackage string, path string) (*Package, error) func LoadPackageTree(goPackage string, basePath string) ([]*Package, error) func (p *Package) GetAnnotation(key string) string type StructField Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type GoStruct ¶ type GoStruct struct { GoPackage string Name string Fields []*StructField Comments []string } type Package ¶ type Package struct { GoPackage string SourceDir string Structs []*GoStruct Comments []string } func LoadPackage ¶ func LoadPackage(goPackage string, path string) (*Package, error) func LoadPackageTree ¶ func LoadPackageTree(goPackage string, basePath string) ([]*Package, error) func (*Package) GetAnnotation ¶ func (p *Package) GetAnnotation(key string) string type StructField ¶ type StructField struct { Name string Type string } Source Files ¶ View all Source files ast.go Click to show internal directories. Click to hide internal directories.