gomenufactroy

package
v1.0.1-dev-02 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: MulanPSL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const BASE_PKG = "gitee.com/leijmdas/goweb/websample"

Variables

This section is empty.

Functions

func InjectGomenuFactroy

func InjectGomenuFactroy(s *GomenuFactroy)

func LoadGomenuFactroy

func LoadGomenuFactroy() baseiface.ISingleton

Types

type GomenuFactroy

type GomenuFactroy struct {
	basedto.BaseEntitySingle

	RootCmd *cobra.Command
	// contains filtered or unexported fields
}

func FindBeanGomenuFactroy

func FindBeanGomenuFactroy() *GomenuFactroy

func NewGomenuFactroy

func NewGomenuFactroy() *GomenuFactroy

func (*GomenuFactroy) AddCommand

func (self *GomenuFactroy) AddCommand(cmd *cobra.Command) *GomenuFactroy

func (*GomenuFactroy) AddCommands

func (self *GomenuFactroy) AddCommands(cmds ...*cobra.Command) *GomenuFactroy

func (*GomenuFactroy) AddSub

func (self *GomenuFactroy) AddSub(parentTitle, short string, cmds ...*cobra.Command) *GomenuFactroy

func (*GomenuFactroy) AddSubCmds

func (self *GomenuFactroy) AddSubCmds(parentTitle string, cmds ...*cobra.Command) *GomenuFactroy

func (*GomenuFactroy) BasePkg

func (self *GomenuFactroy) BasePkg() string

func (*GomenuFactroy) CmdName

func (self *GomenuFactroy) CmdName() string

func (*GomenuFactroy) Execute

func (self *GomenuFactroy) Execute() error

func (*GomenuFactroy) Init

func (self *GomenuFactroy) Init() *GomenuFactroy

goconfig.FindBeanGominicfg().InitPkg(BASE_PKG)

func (*GomenuFactroy) SetBasePkg

func (self *GomenuFactroy) SetBasePkg(basePkg string)

func (*GomenuFactroy) SetCmdName

func (self *GomenuFactroy) SetCmdName(cmdName string)

func (*GomenuFactroy) SetVersion

func (self *GomenuFactroy) SetVersion(version string)

func (*GomenuFactroy) Version

func (self *GomenuFactroy) Version() string

Jump to

Keyboard shortcuts

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