You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package genfunc
|
|
|
|
|
|
|
|
// GetGenTableNameTemp get gen table template str
|
|
|
|
func GetGenTableNameTemp() string {
|
|
|
|
return genTnf
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetGenColumnNameTemp get gen column template str
|
|
|
|
func GetGenColumnNameTemp() string {
|
|
|
|
return genColumn
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetGenBaseTemp get gen base template str
|
|
|
|
func GetGenBaseTemp() string {
|
|
|
|
return genBase
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetGenLogicTemp get gen logic template str
|
|
|
|
func GetGenLogicTemp() string {
|
|
|
|
return genlogic
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetGenPreloadTemp get gen preload template str
|
|
|
|
func GetGenPreloadTemp(multi bool) string {
|
|
|
|
if multi {
|
|
|
|
return genPreloadMulti
|
|
|
|
}
|
|
|
|
return genPreload
|
|
|
|
}
|
|
|
|
|
|
|
|
func GetGenPageTemp() string {
|
|
|
|
return genPage
|
|
|
|
}
|