command

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const CLOST_WAIT = 5

Variables

View Source
var ContractTmp = `` /* 152-byte string literal not displayed */
View Source
var DemoCommand = &cobra.Command{
	Use:   "demo",
	Short: "demo for framework",
	Run: func(cmd *cobra.Command, args []string) {
		container := cmd.GetContainer()
		appService := container.MustMake(contract.AppKey).(contract.App)
		fmt.Println("app base folder: ", appService.BaseFolder())
	},
}
View Source
var ProviderTmp = `` /* 610-byte string literal not displayed */
View Source
var ServiceTmp = `` /* 370-byte string literal not displayed */

Functions

func AddKernelCommands

func AddKernelCommands(root *cobra.Command)

func InitProviderCommand

func InitProviderCommand() *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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