Support go generate for ent codegen

This commit is contained in:
Vojtěch Káně
2021-02-18 14:52:42 +01:00
parent 41ae2283b1
commit 32b3b35a2f
2 changed files with 4 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
* *
!.gitignore !.gitignore
!generate.go
!schema !schema
!schema/* !schema/*

View File

@@ -0,0 +1,3 @@
package ent
//go:generate go run entgo.io/ent/cmd/ent generate ./schema