Easily create new graphql.Object from existing struct.
Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
README.md
bind.go
bind_test.go
circle.yml

README.md

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