bindgraphql icon indicating copy to clipboard operation
bindgraphql copied to clipboard

Easily create new graphql.Object from existing struct.

bindgraphql GoDoc CircleCI Coverage Status GoReportCard

You have RESTful API. You have your struct, it use JSON tag. Then, one of your developer friend introduce you to GraphQL.

If you want to migrate your API to GraphQL without so much pain, this library is for you.

import "github.com/ariefrahmansyah/bindgraphql"

graphObj, err := bind.NewObject("YourObj", yourObj)

Example

See example.go.

Contributor