Documentation ¶ Index ¶ func Parse(pkg *packages.Package, typeName string) (models.ParsedElement, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Parse ¶ func Parse(pkg *packages.Package, typeName string) (models.ParsedElement, error) Parse returns a models.ParsedElement from the given *packages.Package and type name. It's the main entry point for the different parsers (struct, interface, etc). Types ¶ This section is empty. Source Files ¶ View all Source files helper.go interface.go methods.go package.go parser.go struct.go Click to show internal directories. Click to hide internal directories.