Feb 15th 2023 update

This commit is contained in:
Ned Wright
2023-02-15 19:09:38 +00:00
parent f7934cd09d
commit 6a9b33ff93
159 changed files with 16474 additions and 2096 deletions

20
external/graphqlparser/go/README.md vendored Normal file
View File

@@ -0,0 +1,20 @@
# About
This directory contains an example using the libgraphqlparser C library from [Go](https://golang.org/project/).
For an overview of binding to C libraries in Go, please see the [cgo documentation](https://github.com/golang/go/wiki/cgo).
Specifically, please read the overview of [Function pointer callbacks](https://github.com/golang/go/wiki/cgo#function-pointer-callbacks) in Go and C.
## Building and Running
To build with Go, please ensure that you have `pkg-config` installed for your
system.
Assuming pkg-config has been installed, it should be possible to then build
using Go in the normal fashion:
```sh
$ cd libgraphqlparser/go
$ go build
$ ./go
field : myfield
Example error: 1.18-19: syntax error, unexpected on, expecting ( or @ or {
```