From 7eefb42c2acaca600dfb72df29ce3073efde6c04 Mon Sep 17 00:00:00 2001 From: Robert Gogolok Date: Sun, 21 Feb 2016 11:50:20 +0100 Subject: [PATCH] fix response message reason @Success 200 {string} delete success! before: success! after: delete success! --- g_docs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g_docs.go b/g_docs.go index b067add..7f9acfb 100644 --- a/g_docs.go +++ b/g_docs.go @@ -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 {