Skip to content

Dominik-Robert/gqlgenForDgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

gqlgenForDgraph

generates for the gqlgen project the relvant code for the dgraph database structures.

How to use it?

Install the binary:

go install github.com/dominik-robert/gqlgenForDgraph@latest

Run the binary (the GOPATH/bin folder should be in your PATH)

gqlgenForDgraph

Structures

The binary adds for the json-Field dType the right format:

UID           string       `json:"uid"`
DType         []string     `json:"dgraph.type,omitempty`

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages