mirror of
https://github.com/davidallendj/configurator.git
synced 2025-12-20 11:37:00 -07:00
readme: added note about illegal template keys
This commit is contained in:
parent
a651d70dfa
commit
531ad8881d
1 changed files with 4 additions and 0 deletions
|
|
@ -153,6 +153,10 @@ func (g *MyGenerator) Generate(config *configurator.Config, opts ...util.Option)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> The keys in `generator.ApplyTemplate` must not contain illegal characters such as a `-` or else the templates will not apply correctly.
|
||||||
|
|
||||||
|
|
||||||
// this MUST be named "Generator" for symbol lookup in main driver
|
// this MUST be named "Generator" for symbol lookup in main driver
|
||||||
var Generator MyGenerator
|
var Generator MyGenerator
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue