Documentation ¶
Index ¶
- Constants
- func InjectGomenuFactroy(s *GomenuFactroy)
- 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/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 { // 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
Click to show internal directories.
Click to hide internal directories.