From b41ccc59929f4af1efaa895f34ace860723b07f7 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Sat, 4 Mar 2023 01:37:14 +0800 Subject: [PATCH] fix functiom name Signed-off-by: cui fliter --- tools/goctl/api/parser/g4/ast/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/goctl/api/parser/g4/ast/service.go b/tools/goctl/api/parser/g4/ast/service.go index 1bd70865..fb760ec2 100644 --- a/tools/goctl/api/parser/g4/ast/service.go +++ b/tools/goctl/api/parser/g4/ast/service.go @@ -176,7 +176,7 @@ func (v *ApiVisitor) VisitAtHandler(ctx *api.AtHandlerContext) any { return &atHandler } -// serVisitRoute implements from api.BaseApiParserVisitor +// VisitRoute implements from api.BaseApiParserVisitor func (v *ApiVisitor) VisitRoute(ctx *api.RouteContext) any { var route Route path := ctx.Path()