func export support

支持快捷函数导出。
This commit is contained in:
谢小军
2020-01-09 20:04:33 +08:00
parent 204164e8b9
commit 1ff17da96f
15 changed files with 932 additions and 44 deletions

View File

@@ -9,3 +9,11 @@ func GetGenBaseTemp() string {
func GetGenLogicTemp() string {
return genlogic
}
// GetGenPreloadTemp get gen preload template str
func GetGenPreloadTemp(multi bool) string {
if multi {
return genPreloadMulti
}
return genPreload
}