1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-16 02:12:16 +00:00

fix the typo

This commit is contained in:
astaxie
2016-08-17 22:56:21 +08:00
parent 68311b286e
commit 3672f96a9d
3 changed files with 4 additions and 4 deletions

View File

@@ -101,7 +101,7 @@ func parserComments(comments *ast.CommentGroup, funcName, controllerName, pkgpat
elements := strings.TrimLeft(t, "@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")
}
key := pkgpath + ":" + controllerName
cc := ControllerComments{}