aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/vektah/gqlgen/codegen/model.go
blob: 164a04d5b5079ead5b261c5264166a797f1fce74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package codegen

type Model struct {
	*NamedType

	Fields []ModelField
}

type ModelField struct {
	*Type
	GQLName   string
	GoVarName string
	GoFKName  string
	GoFKType  string
}