fix(generator): replace gotmpl with gomplate

This commit is contained in:
asimon 2026-01-25 12:15:49 +01:00
parent 5e479f3662
commit a8acaf7143
7 changed files with 12 additions and 12 deletions

View file

@ -19,7 +19,7 @@ Soonix helps you:
- **nix**: Convert Nix data to JSON, YAML, TOML, INI, XML formats
- **string**: Output raw string content with optional executable permissions
- **derivation**: Use existing Nix derivations as file content
- **gotmpl**: Advanced Go template rendering via gomplate
- **gomplate**: Advanced Go template rendering via gomplate
- **jinja**: Python Jinja2 template rendering
### Automatic File Management
@ -63,7 +63,7 @@ Automatically manage .gitignore entries for generated files to keep your reposit
dockerfile = {
output = "Dockerfile";
generator = "gotmpl";
generator = "gomplate";
data = {
baseImage = "node:18-alpine";
port = 3000;

View file

@ -100,7 +100,7 @@ Use Go templates for more complex file generation:
hooks = {
dockerfile = {
output = "Dockerfile";
generator = "gotmpl";
generator = "gomplate";
data = {
baseImage = "node:18-alpine";
workdir = "/app";
@ -331,7 +331,7 @@ in {
hooks = {
kubernetes-manifest = {
output = "k8s/deployment.yaml";
generator = "gotmpl";
generator = "gomplate";
data = {
app = {
name = "my-app";