Skip to content

Commit

Permalink
Merge pull request #861 from testwill/typo
Browse files Browse the repository at this point in the history
fix: information typo
  • Loading branch information
askuy authored Aug 30, 2023
2 parents c8ccbb7 + 634d224 commit 01d3971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate/swaggergen/g_docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ func parserComments(f *ast.FuncDecl, controllerName, pkgpath string) error {
elements := strings.TrimSpace(t[len("@router"):])
e1 := strings.SplitN(elements, " ", 2)
if len(e1) < 1 {
return errors.New("you should has router infomation")
return errors.New("you should has router information")
}
routerPath = e1[0]
if len(e1) == 2 && e1[1] != "" {
Expand Down

0 comments on commit 01d3971

Please sign in to comment.