Skip to content

Commit 634d224

Browse files
authored
fix: information typo
1 parent c8ccbb7 commit 634d224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate/swaggergen/g_docs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ func parserComments(f *ast.FuncDecl, controllerName, pkgpath string) error {
558558
elements := strings.TrimSpace(t[len("@router"):])
559559
e1 := strings.SplitN(elements, " ", 2)
560560
if len(e1) < 1 {
561-
return errors.New("you should has router infomation")
561+
return errors.New("you should has router information")
562562
}
563563
routerPath = e1[0]
564564
if len(e1) == 2 && e1[1] != "" {

0 commit comments

Comments
 (0)