aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/gen_graphql.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-14 12:40:31 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-14 12:41:59 +0200
commitb478cd1bcb4756b20f7f4b15fcf81f23e1a60a02 (patch)
tree8ce232dcab3dd00708f8ba66c334472457e5980d /graphql/gen_graphql.go
parenta3fc9abb921f5ce7084d6ab7473442d0b72b1d78 (diff)
downloadgit-bug-b478cd1bcb4756b20f7f4b15fcf81f23e1a60a02.tar.gz
graphql: update gqlgen to 0.5.1
fix #6
Diffstat (limited to 'graphql/gen_graphql.go')
-rw-r--r--graphql/gen_graphql.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphql/gen_graphql.go b/graphql/gen_graphql.go
index fb0cfa68..84e0cfe0 100644
--- a/graphql/gen_graphql.go
+++ b/graphql/gen_graphql.go
@@ -9,7 +9,7 @@ import (
"os"
"path"
- "github.com/vektah/gqlgen/codegen"
+ "github.com/99designs/gqlgen/codegen"
)
func main() {
@@ -22,9 +22,9 @@ func main() {
fmt.Println("Generating graphql code ...")
- log.SetOutput(ioutil.Discard)
+ log.SetOutput(os.Stdout)
- config, err := codegen.LoadDefaultConfig()
+ config, err := codegen.LoadConfigFromDefaultLocations()
if err != nil {
log.Fatal(err)
}