Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "init", Short: "初始化应用服务", Long: "初始化应用服务,作为环境演示", Run: func(cmd *cobra.Command, args []string) { app, err := ioc.InitApp() cobra.CheckErr(err) currentVersion, err := app.VerSvc.GetVersion(context.Background()) cobra.CheckErr(err) if currentVersion == "" { complete(app) increment(app, "v1.0.0") } else { increment(app, currentVersion) } }, }
View Source
var (
TagVersion string
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.