Versions in this module Expand all Collapse all v1 v1.0.1 Mar 3, 2022 v1.0.0 Mar 3, 2022 Changes in this version + type InterfaceInfo struct + ApplyStruct []string + Doc string + Methods []*Method + Name string + Package string + func (i *InterfaceInfo) IsMatchStruct(name string) bool + type InterfacePath struct + Files []string + FullName string + Name string + Package string + func GetInterfacePath(v interface{}) (paths []*InterfacePath, err error) + type InterfaceSet struct + Interfaces []InterfaceInfo + func (i *InterfaceSet) ParseFile(paths []*InterfacePath, structNames []string) error + func (i *InterfaceSet) Visit(n ast.Node) (w ast.Visitor) + type Method struct + Doc string + MethodName string + Params []Param + Result []Param + type Param struct + IsArray bool + IsPointer bool + Name string + Package string + PkgPath string + Type string + func (p *Param) AllowType() bool + func (p *Param) Eq(q Param) bool + func (p *Param) InMainPkg() bool + func (p *Param) IsError() bool + func (p *Param) IsGenM() bool + func (p *Param) IsGenRowsAffected() bool + func (p *Param) IsGenT() bool + func (p *Param) IsInterface() bool + func (p *Param) IsMap() bool + func (p *Param) IsNull() bool + func (p *Param) IsTime() bool + func (p *Param) SetName(name string) + func (p *Param) TypeName() string