1
0
mirror of https://github.com/beego/bee.git synced 2024-11-23 06:40:54 +00:00

fix response message reason

@Success 200 {string} delete success!
before: success!
after: delete success!
This commit is contained in:
Robert Gogolok 2016-02-21 11:50:20 +01:00
parent efafb652fd
commit 7eefb42c2a

View File

@ -397,7 +397,7 @@ func parserComments(comments *ast.CommentGroup, funcName, controllerName, pkgpat
start = false
continue
} else {
st[j] = strings.TrimSpace(ss[i+1:])
st[j] = strings.TrimSpace(string(tmp) + " " + ss[i+1:])
break
}
} else {