Remove this dir
This commit is contained in:
@@ -2,9 +2,6 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
"path"
|
|
||||||
|
|
||||||
"git.gorlug.de/code/ersteller/starter/create"
|
|
||||||
|
|
||||||
"entgo.io/ent/entc"
|
"entgo.io/ent/entc"
|
||||||
"entgo.io/ent/entc/gen"
|
"entgo.io/ent/entc/gen"
|
||||||
@@ -12,8 +9,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
log.Println("starter generate schema")
|
log.Println("starter generate schema")
|
||||||
thisDir := create.GetPathToThisDir()
|
paginationPath := "./ent/schema/pagination_query.tmpl"
|
||||||
paginationPath := path.Join(thisDir, "./ent/schema/pagination_query.tmpl")
|
|
||||||
|
|
||||||
must(entc.Generate(
|
must(entc.Generate(
|
||||||
"./ent/schema",
|
"./ent/schema",
|
||||||
|
|||||||
Reference in New Issue
Block a user