feat(main): add agent
This commit is contained in:
@@ -23,3 +23,4 @@ Write-Output "开始创建库:$dbname 的表:$tables"
|
||||
# 执行 goctl 命令生成 model
|
||||
$command = "goctl model mysql datasource -url=`"$username`:$passwd`@tcp($host`:$port)/$dbname`" -table=`"$tables`" -dir=`"$modeldir`" --home=`"$templateDir`" -cache=true --style=goZero"
|
||||
Invoke-Expression $command
|
||||
gibyjk.
|
||||
Reference in New Issue
Block a user