git-bug/vendor/github.com/vektah/gqlgen/codegen/model.go
2018-08-14 14:48:41 +02:00

16 lines
180 B
Go

package codegen
type Model struct {
*NamedType
Fields []ModelField
}
type ModelField struct {
*Type
GQLName string
GoVarName string
GoFKName string
GoFKType string
}