Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrModelAlreadyExists error = errors.New("model already exists") ErrModelDirNotFound error = errors.New("models folder do not exists on your buffalo app, please ensure the folder exists in order to proceed") )
View Source
var ( //go:embed templates Templates embed.FS )
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct{}
Generator allows to identify model as a plugin
func (Generator) InvocationName ¶
InvocationName is used to identify the generator when the generate command is called.
type Initializer ¶
type Initializer struct{}
Initializer
func (*Initializer) Initialize ¶
func (Initializer) Name ¶
func (i Initializer) Name() string
Click to show internal directories.
Click to hide internal directories.