From 5c6a3132ebe96afee256b8ee07c0bf8b8c6e0a39 Mon Sep 17 00:00:00 2001 From: Jerry Liang <8124783+nianiaJR@users.noreply.github.com> Date: Tue, 14 Sep 2021 10:26:44 +0800 Subject: [PATCH] fix typo parse.go error message (#1041) --- tools/goctl/api/parser/parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/goctl/api/parser/parser.go b/tools/goctl/api/parser/parser.go index 12099b60..f2d70e04 100644 --- a/tools/goctl/api/parser/parser.go +++ b/tools/goctl/api/parser/parser.go @@ -276,7 +276,7 @@ func (p parser) fillService() error { name := item.ServiceApi.Name.Text() if len(p.spec.Service.Name) > 0 && p.spec.Service.Name != name { - return fmt.Errorf("mulit service name defined %s and %s", name, p.spec.Service.Name) + return fmt.Errorf("multiple service names defined %s and %s", name, p.spec.Service.Name) } p.spec.Service.Name = name }