Move pagination_query.tmpl and time_mixin.go to starter

This commit is contained in:
Achim Rohn
2025-11-15 14:10:00 +01:00
parent 8f50cc9c29
commit 7a3e1ffcfc
6 changed files with 85 additions and 11 deletions
+3 -2
View File
@@ -1,10 +1,11 @@
package main
import (
"git.gorlug.de/code/ersteller/starter/create"
"log"
"path"
"git.gorlug.de/code/ersteller/starter/create"
"entgo.io/ent/entc"
"entgo.io/ent/entc/gen"
)
@@ -12,7 +13,7 @@ import (
func main() {
log.Println("starter generate schema")
thisDir := create.GetPathToThisDir()
paginationPath := path.Join(thisDir, "../../schema/ent/pagination_query.tmpl")
paginationPath := path.Join(thisDir, "./ent/schema/pagination_query.tmpl")
must(entc.Generate(
"./ent/schema",