initial

package
v1.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 5 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL