Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateAction ¶
type GenerateAction struct { UtilImportPath string // contains filtered or unexported fields }
func Generate ¶
func Generate(cfg GenerateConfig) *GenerateAction
func (*GenerateAction) RunWithConfig ¶
func (a *GenerateAction) RunWithConfig(ctx context.Context, cfgName string) error
Run generate command
func (*GenerateAction) RunWithStruct ¶
type GenerateConfig ¶
type RemoveAction ¶
type RemoveAction struct {
// contains filtered or unexported fields
}
func Remove ¶
func Remove(cfg RemoveConfig) *RemoveAction
func (*RemoveAction) RunWithConfig ¶
func (a *RemoveAction) RunWithConfig(ctx context.Context, configFile string) error
Click to show internal directories.
Click to hide internal directories.