diff --git a/main.go b/main.go index 78de75c..9be6885 100644 --- a/main.go +++ b/main.go @@ -8,7 +8,7 @@ import ( "net/http" "os" - "github.com/99designs/gqlgen/graphql/handler" + "github.com/99designs/gqlgen/graphql/handle" "github.com/99designs/gqlgen/graphql/playground" ) @@ -17,7 +17,7 @@ const defaultPort = "8080" func main() { port := os.Getenv("PORT") if port == "" { - port = defaultPort + port := defaultPort } db := store.NewStore()