From 5c7acc1bc8198ed57a38867ae0c452987da91911 Mon Sep 17 00:00:00 2001 From: Michael Tibben Date: Fri, 10 Sep 2021 09:21:30 +1000 Subject: [PATCH] Fix imports --- cmd/gen.go | 2 +- codegen/config/config_test.go | 1 + plugin/resolvergen/resolver.go | 1 + plugin/servergen/server.go | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/gen.go b/cmd/gen.go index 706313cee30..f973cc22c0f 100644 --- a/cmd/gen.go +++ b/cmd/gen.go @@ -2,7 +2,7 @@ package cmd import ( "errors" - "os" + "io/fs" "github.com/99designs/gqlgen/api" "github.com/99designs/gqlgen/codegen/config" diff --git a/codegen/config/config_test.go b/codegen/config/config_test.go index f0d6ab89822..9dcd0a59958 100644 --- a/codegen/config/config_test.go +++ b/codegen/config/config_test.go @@ -2,6 +2,7 @@ package config import ( "errors" + "io/fs" "os" "path/filepath" "runtime" diff --git a/plugin/resolvergen/resolver.go b/plugin/resolvergen/resolver.go index 8c61836f750..e63501d2bc6 100644 --- a/plugin/resolvergen/resolver.go +++ b/plugin/resolvergen/resolver.go @@ -2,6 +2,7 @@ package resolvergen import ( "errors" + "io/fs" "os" "path/filepath" "strings" diff --git a/plugin/servergen/server.go b/plugin/servergen/server.go index 05fe885fcd6..cdabc409fe6 100644 --- a/plugin/servergen/server.go +++ b/plugin/servergen/server.go @@ -2,6 +2,7 @@ package servergen import ( "errors" + "io/fs" "log" "os"