Perfect annotation and remove redundant information output.

完善注释,去除多余的信息输出
This commit is contained in:
yanjiangtao
2021-03-30 20:23:40 +08:00
parent d6f49c5cce
commit d000eebda5
6 changed files with 11 additions and 9 deletions

View File

@@ -257,7 +257,7 @@ func GetWebTagType() int {
return _map.WebTagType
}
//获取设置的表名
//GetTableNames get format tableNames by config. 获取格式化后设置的表名
func GetTableNames() string {
var sb strings.Builder
if _map.TableNames != "" {
@@ -284,12 +284,12 @@ func GetTableNames() string {
return sb.String()
}
//获取设置的表名
//GetOriginTableNames get origin tableNames. 获取原始的设置的表名
func GetOriginTableNames() string {
return _map.TableNames
}
//设置生成的表名
//SetTableNames set tableNames. 设置生成的表名
func SetTableNames(tableNames string) {
_map.TableNames = tableNames
}