Versions in this module Expand all Collapse all v1 v1.0.1 Jan 25, 2023 v1.0.0 Jul 17, 2022 Changes in this version + type Collector struct + func New(context *context.Context) *Collector + func (c *Collector) CollectMethods() []*method.Method + func (c *Collector) CollectPackageInfo() (*Info, error) + func (c *Collector) GetImports() map[string]string + func (c *Collector) MethodExists(methodName string) bool + type FieldInfo struct + Expr ast.Expr + Name string + type Info struct + File *ast.File + FileName string + Object *ast.Object + Package *packages.Package + Struct *ast.StructType + Syntax []*ast.File + func (i *Info) MarshalJSON() ([]byte, error)