Update generator interface and plugins
This commit is contained in:
parent
30c8336ca6
commit
e92a883c89
9 changed files with 85 additions and 5 deletions
|
|
@ -19,6 +19,8 @@ type Mappings = map[string]any
|
|||
type Files = map[string][]byte
|
||||
type Generator interface {
|
||||
GetName() string
|
||||
GetVersion() string
|
||||
GetDescription() string
|
||||
Generate(config *configurator.Config, opts ...util.Option) (Files, error)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue