Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchCreator ¶
type BatchCreator struct {
// contains filtered or unexported fields
}
func NewBatchCreator ¶
func NewBatchCreator(files ...FileCreator) *BatchCreator
func (*BatchCreator) Create ¶
func (p *BatchCreator) Create() error
type ComponentFile ¶
ComponentFile base component creator
func (*ComponentFile) Create ¶
func (c *ComponentFile) Create() error
type ConfigFile ¶
type ConfigFile struct { Env string Config Properties Overwrite bool }
func (*ConfigFile) Create ¶
func (y *ConfigFile) Create() error
type ControllerFile ¶
ControllerFile controller creator
func (*ControllerFile) Create ¶
func (c *ControllerFile) Create() error
type File ¶
type File struct { PkgName string Wd string Template string Ext string SkipIfExists bool Data map[string]interface{} FileName string PostHandler func(file *File) // contains filtered or unexported fields }
func (*File) FileExists ¶ added in v1.4.3
func (*File) GetFileName ¶
func (*File) SetAttribute ¶
type FileCreator ¶
type FileCreator interface {
Create() error
}
type FilterFile ¶
FilterFile filter creator
func (*FilterFile) Create ¶
func (f *FilterFile) Create() error
type Properties ¶
type Properties = map[string]interface{}
type RepositoryFile ¶
RepositoryFile repository creator
func (*RepositoryFile) Create ¶
func (s *RepositoryFile) Create() error
type ServiceFile ¶
type ServiceFile struct {
ServiceName string
}
ServiceFile service creator
func (*ServiceFile) Create ¶
func (s *ServiceFile) Create() error
type StructureGoFile ¶
type StructureGoFile struct { }
Click to show internal directories.
Click to hide internal directories.