Versions in this module Expand all Collapse all v1 v1.0.0 Apr 27, 2026 Changes in this version + type ComponentInfo struct + File string + Kind ComponentKind + Line int + Package string + TypeName string + type ComponentKind string + const ComponentComponent + const ComponentController + const ComponentRepository + const ComponentService + type DIGenerator struct + func NewDIGenerator(dir string) *DIGenerator + func (g *DIGenerator) Generate(ctx context.Context) error + type DirectiveInfo struct + Argument string + File string + Line int + Name string + Package string + Raw string + Target string + type ErrorHandlerDirective struct + ControllerName string + ErrorTypes []string + LineNum int + MethodName string + type GenerateResult struct + Files []string + type Generator struct + func NewGenerator(dir string) *Generator + func (g *Generator) Generate(ctx context.Context) (Result, error) + type PackageInfo struct + Dir string + Name string + type Result struct + GeneratedFiles int + type RouteDirective struct + ControllerName string + Guards []string + Interceptors []string + LineNum int + Method string + MethodName string + Path string + type ScanResult struct + Components []ComponentInfo + Directives []DirectiveInfo + Packages []PackageInfo + type Scanner struct + func NewScanner(dir string) *Scanner + func (s *Scanner) Scan(ctx context.Context) (ScanResult, error) + type WebGenerator struct + func NewWebGenerator(dir string) *WebGenerator + func (g *WebGenerator) Generate(ctx context.Context) (GenerateResult, error) + type WebScanner struct + func NewWebScanner() *WebScanner + func (ws *WebScanner) ScanControllerDirectives(filename string) ([]RouteDirective, error) + func (ws *WebScanner) ScanErrorHandlerDirectives(filename string) ([]ErrorHandlerDirective, error)