Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildInfoInstance = make(g2util.Map)
BuildInfoInstance ...
Functions ¶
func FlagsGetBoolFunc ¶
FlagsGetBoolFunc ...
Types ¶
type G2cmd ¶
type G2cmd struct { Logger g2util.LevelLogger `inject:""` Config *g2util.Config `inject:""` AbFile *g2util.AbFile `inject:""` // contains filtered or unexported fields }
G2cmd ...
func (*G2cmd) Execute ¶
func (g *G2cmd) Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func (*G2cmd) SetMigrateWorker ¶ added in v2.0.3
func (g *G2cmd) SetMigrateWorker(fn func())
SetMigrateWorker ...
func (*G2cmd) SetStartWorker ¶ added in v2.0.3
func (g *G2cmd) SetStartWorker(fn func())
SetStartWorker ...
Click to show internal directories.
Click to hide internal directories.