Documentation
¶
Overview ¶
Package extensions provides the framework for registering and applying extensions to the scaffold generation process.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Files embed.FS
Functions ¶
Types ¶
type Context ¶
type Context struct {
TargetDir string
Data TemplateData
ProcessTemplate ProcessTemplateFunc
AddPostStep func(func(targetDir string) error)
NextMigrationTime *time.Time
DIMode string // "manual" or "uberfx"
Inertia string // inertia adapter, e.g. "vue", "react"
}
type CssComponents ¶ added in v1.0.0
type CssComponents struct{}
func (CssComponents) Apply ¶ added in v1.0.0
func (c CssComponents) Apply(ctx *Context) error
func (CssComponents) Dependencies ¶ added in v1.0.0
func (c CssComponents) Dependencies() []string
func (CssComponents) Name ¶ added in v1.0.0
func (c CssComponents) Name() string
type ProcessTemplateFunc ¶
type ProcessTemplateFunc func(templateFile, targetPath string, data TemplateData) error
Click to show internal directories.
Click to hide internal directories.