Add general queue
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
. "git.gorlug.de/code/ersteller"
|
||||
|
||||
"entgo.io/ent/entc"
|
||||
"entgo.io/ent/entc/gen"
|
||||
)
|
||||
|
||||
func main() {
|
||||
Debug("ersteller schema generation")
|
||||
paginationPath := "starter/ent/schema/pagination_query.tmpl"
|
||||
Must(entc.Generate(
|
||||
"./schema/ent/schema",
|
||||
&gen.Config{},
|
||||
entc.TemplateFiles(paginationPath),
|
||||
))
|
||||
}
|
||||
Reference in New Issue
Block a user