readme: added note about illegal template keys

This commit is contained in:
David Allen 2025-01-07 12:41:35 -07:00
parent a651d70dfa
commit 531ad8881d
Signed by: towk
GPG key ID: 793B2924A49B3A3F

View file

@ -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
var Generator MyGenerator
```