Skip to content

Commit

Permalink
contrib/99designs/gqlgen: fix issue with example import in tests (#1457)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-alza committed Sep 19, 2022
1 parent b600964 commit 83e9ca7
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 35 deletions.
2 changes: 1 addition & 1 deletion contrib/99designs/gqlgen/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"log"
"net/http"

"github.com/99designs/gqlgen/example/todo"
"github.com/99designs/gqlgen/_examples/todo"
"github.com/99designs/gqlgen/graphql/handler"

"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
Expand Down
20 changes: 10 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ go 1.17

require (
cloud.google.com/go/pubsub v1.4.0
github.com/99designs/gqlgen v0.14.0
github.com/99designs/gqlgen v0.17.16
github.com/99designs/gqlgen/_examples v0.0.0-20220829154420-b66fff16de0b
github.com/DataDog/datadog-agent/pkg/obfuscate v0.0.0-20211129110424-6491aa3bf583
github.com/DataDog/datadog-go/v5 v5.0.2
github.com/DataDog/gostackparse v0.5.0
Expand Down Expand Up @@ -37,7 +38,7 @@ require (
github.com/gomodule/redigo v1.7.0
github.com/google/pprof v0.0.0-20210423192551-a2663126120b
github.com/google/uuid v1.3.0
github.com/gorilla/mux v1.6.2
github.com/gorilla/mux v1.8.0
github.com/graph-gophers/graphql-go v1.3.0
github.com/hashicorp/consul/api v1.0.0
github.com/hashicorp/vault/api v1.1.0
Expand All @@ -54,14 +55,14 @@ require (
github.com/opentracing/opentracing-go v1.2.0
github.com/segmentio/kafka-go v0.4.29
github.com/sirupsen/logrus v1.7.0
github.com/stretchr/testify v1.7.0
github.com/stretchr/testify v1.7.1
github.com/syndtr/goleveldb v1.0.0
github.com/tidwall/buntdb v1.2.0
github.com/tinylib/msgp v1.1.2
github.com/twitchtv/twirp v8.1.1+incompatible
github.com/urfave/negroni v1.0.0
github.com/valyala/fasthttp v1.34.0 // indirect
github.com/vektah/gqlparser/v2 v2.2.0
github.com/vektah/gqlparser/v2 v2.5.0
github.com/vmihailenco/msgpack/v5 v5.3.4 // indirect
github.com/vmihailenco/tagparser v0.1.2 // indirect
github.com/zenazn/goji v1.0.1
Expand All @@ -88,11 +89,11 @@ require (

require (
cloud.google.com/go v0.57.0 // indirect
github.com/BurntSushi/toml v0.3.1 // indirect
github.com/BurntSushi/toml v1.1.0 // indirect
github.com/DataDog/datadog-go v4.8.2+incompatible // indirect
github.com/DataDog/zstd v1.3.5 // indirect
github.com/Microsoft/go-winio v0.5.1 // indirect
github.com/agnivade/levenshtein v1.1.0 // indirect
github.com/agnivade/levenshtein v1.1.1 // indirect
github.com/andybalholm/brotli v1.0.4 // indirect
github.com/armon/go-metrics v0.3.0 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.0.0 // indirect
Expand Down Expand Up @@ -124,8 +125,7 @@ require (
github.com/google/gofuzz v1.2.0 // indirect
github.com/googleapis/gax-go/v2 v2.0.5 // indirect
github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d // indirect
github.com/gorilla/context v1.1.1 // indirect
github.com/gorilla/websocket v1.4.2 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
Expand Down Expand Up @@ -158,7 +158,7 @@ require (
github.com/labstack/gommon v0.3.1 // indirect
github.com/leodido/go-urn v1.2.0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.11 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/mapstructure v1.4.2 // indirect
Expand Down Expand Up @@ -209,7 +209,7 @@ require (
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/square/go-jose.v2 v2.5.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
honnef.co/go/tools v0.0.1-2020.1.4 // indirect
k8s.io/api v0.17.0 // indirect
k8s.io/klog v1.0.0 // indirect
Expand Down
Loading

0 comments on commit 83e9ca7

Please sign in to comment.