Documentation ¶
Index ¶
- Constants
- func LoadGomenuFactroy() baseiface.ISingleton
- type GomenuFactroy
- func (self *GomenuFactroy) AddCommand(cmd *cobra.Command) *GomenuFactroy
- func (self *GomenuFactroy) AddCommands(cmds ...*cobra.Command) *GomenuFactroy
- func (self *GomenuFactroy) AddSub(parentTitle, short string, cmds ...*cobra.Command) *GomenuFactroy
- func (self *GomenuFactroy) AddSubCmds(parentTitle string, cmds ...*cobra.Command) *GomenuFactroy
- func (self *GomenuFactroy) BasePkg() string
- func (self *GomenuFactroy) CmdName() string
- func (self *GomenuFactroy) Execute() error
- func (self *GomenuFactroy) Init() *GomenuFactroy
- func (self *GomenuFactroy) SetBasePkg(basePkg string)
- func (self *GomenuFactroy) SetCmdName(cmdName string)
- func (self *GomenuFactroy) SetVersion(version string)
- func (self *GomenuFactroy) Version() string
Constants ¶
View Source
const BASE_PKG = "gitee.com/ichub/goconfig/common/base/basedto"
Variables ¶
This section is empty.
Functions ¶
func LoadGomenuFactroy ¶
func LoadGomenuFactroy() baseiface.ISingleton
Types ¶
type GomenuFactroy ¶
type GomenuFactroy struct { // 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 ¶ added in v1.4.129
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.FindBeanGominiFilecfg().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
Click to show internal directories.
Click to hide internal directories.