entc/gen: introduce the entc.Dependency option

This commit is contained in:
Ariel Mashraki
2021-10-25 21:56:48 +03:00
committed by Ariel Mashraki
parent 5bbd973ffa
commit 82eeeb5a1c
13 changed files with 338 additions and 52 deletions

View File

@@ -85,8 +85,9 @@ func (t Type) ConstName() string {
type TypeInfo struct {
Type Type
Ident string
PkgPath string
Nillable bool // slices or pointers.
PkgPath string // import path.
PkgName string // local package name.
Nillable bool // slices or pointers.
RType *RType
}