Skip to content

Go-gettable version of the libgraphqlparser C library for parsing GraphQL

Notifications You must be signed in to change notification settings

tecbot/c-graphqlparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Thomas Adam
Oct 17, 2015
d00c3cc · Oct 17, 2015

History

3 Commits
Sep 19, 2015
Oct 17, 2015
Sep 19, 2015
Sep 19, 2015
Sep 19, 2015
Sep 19, 2015
Sep 19, 2015
Sep 19, 2015
Sep 19, 2015
Sep 19, 2015
Sep 19, 2015
Oct 17, 2015
Sep 19, 2015
Sep 19, 2015
Sep 19, 2015
Sep 19, 2015
Sep 19, 2015

Repository files navigation

c-graphqlparser

This is a go-gettable version of the libgraphqlparser C library for use in Go code that needs to link against the libgraphqlparser C library but wants to integrate with go get and go build.

To use in your project you need to import the package and set appropriate cgo flag directives:

import _ "github.com/tecbot/c-graphqlparser"

// #cgo CXXFLAGS: -std=c++11
// #cgo CPPFLAGS: -I <relative-path>/c-graphqlparser/internal
// #cgo darwin LDFLAGS: -Wl,-undefined -Wl,dynamic_lookup
// #cgo !darwin LDFLAGS: -Wl,-unresolved-symbols=ignore-all
import "C"

To update the upstream version of libgraphqlparser you'll want to run ./import.sh.

About

Go-gettable version of the libgraphqlparser C library for parsing GraphQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published