From f5471680e4b19b0bddf5734c8861a4d75fe31970 Mon Sep 17 00:00:00 2001 From: hudangwei Date: Tue, 30 May 2017 16:21:45 +0800 Subject: [PATCH] fix tag description,add tag description by getting database table information column comment --- generate/g_appcode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate/g_appcode.go b/generate/g_appcode.go index c1cf068..a514263 100644 --- a/generate/g_appcode.go +++ b/generate/g_appcode.go @@ -182,7 +182,7 @@ type OrmTag struct { RelFk bool ReverseMany bool RelM2M bool - Comment string //字段注解 + Comment string //column comment } // String returns the source code string for the Table struct