aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/gen_graphql.go
diff options
context:
space:
mode:
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)
}