generates for the gqlgen project the relvant code for the dgraph database structures.
Install the binary:
go install github.com/dominik-robert/gqlgenForDgraph@latest
Run the binary (the GOPATH/bin folder should be in your PATH)
gqlgenForDgraph
The binary adds for the json-Field dType the right format:
UID string `json:"uid"`
DType []string `json:"dgraph.type,omitempty`