fix template rendering

This commit is contained in:
Hayden 2024-02-25 15:15:53 -06:00
parent 3ed50f5a1b
commit fca7f6bffa
No known key found for this signature in database
GPG key ID: 17CF79474E257545
2 changed files with 2 additions and 3 deletions

View file

@ -102,8 +102,7 @@ tasks:
dir: backend/internal/
cmds:
- |
go generate ./... \
--template=./data/ent/schema/templates/has_id.tmpl
go generate ./...
sources:
- "./backend/internal/data/ent/schema/**/*"

View file

@ -20,4 +20,4 @@ import "github.com/google/uuid"
}
{{ end }}
{{ end }}
{{ end }}