Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2022 Changes in this version + func DefaultOutputPath(f Flags) string + func Generate(wtr io.Writer, c Interface) error + func Run(flags Flags) error + type Argument struct + Name string + Type string + type Flags struct + InterfaceDir string + InterfaceName string + OutputPath func(Flags) string + func ParseFlags() (Flags, error) + type Interface struct + Methods []Method + Name string + PackageName string + func Parse(dir string) ([]Interface, error) + type Method struct + Args []Argument + Name string + Returns []Argument + type NodeVisitor struct + func NewNodeVisitor() *NodeVisitor + func (nv *NodeVisitor) Visit(node ast.Node) ast.Visitor