Skip to content

Commit

Permalink
break main.go on purpose for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenan7 authored Dec 1, 2023
1 parent e02b1e9 commit d5b73c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand All @@ -17,7 +17,7 @@ const defaultPort = "8080"
func main() {
port := os.Getenv("PORT")
if port == "" {
port = defaultPort
port := defaultPort

Check failure on line 20 in main.go

View workflow job for this annotation

GitHub Actions / lint

port declared and not used (typecheck)
}

db := store.NewStore()
Expand Down

0 comments on commit d5b73c9

Please sign in to comment.