Documentation ¶
Index ¶
- Constants
- Variables
- func Build(appName string, which string, whichSql string)
- func CloseBySignal(pid int)
- func GetProjectName(dir string) (moduleName string)
- func ModTidy()
- func ReadToml(componentName string) (qsConn string)
- func RunMakeMigrate(componentName string, name string)
- func RunMigrate(componentName, upDown string)
- func SqlcGenerate(componentName ...string)
- func Start()
- func ValidateLatestVersion()
- func WeaverGenerate()
Constants ¶
View Source
const ( MySQL = "mysql" SQL = "sql" SQLlite3 = "sqlite3" )
View Source
const Version = "v0.5.0"
Variables ¶
View Source
var ( KindBase = "base" KindBff = "bff" KindComponent = "component" KindAll = "all" )
Functions ¶
func CloseBySignal ¶ added in v0.2.0
func CloseBySignal(pid int)
func GetProjectName ¶
func RunMakeMigrate ¶
func RunMigrate ¶ added in v0.0.3
func RunMigrate(componentName, upDown string)
func SqlcGenerate ¶
func SqlcGenerate(componentName ...string)
func ValidateLatestVersion ¶ added in v0.1.1
func ValidateLatestVersion()
func WeaverGenerate ¶
func WeaverGenerate()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.