Example for Go Meetup on GraphQL
It is assumed that you have working go installation, clone this repository into GOPATH/src/hogwarts
cd $GOPATH/src
git clone https://github.com/nexneo/hogwarts.git
cd hogwarts
psql < db/schema.sql
psql -d hogwarts < db/seed.sql
go get -u github.com/vektah/gqlgen
go get -u gopkg.in/src-d/go-kallax.v1/...
go get -u github.com/lib/pq
go generate ./...
go run main.go