Skip to content

Commit

Permalink
Fix Gin installation instruction
Browse files Browse the repository at this point in the history
Current `go get gin` instruction results in an error from Go: `package gin: unrecognized import path "gin" (import path does not begin with hostname)`
  • Loading branch information
Sauraus authored Mar 21, 2019
1 parent 8ac8a1f commit 52624e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/recipes/gin.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Here are the steps to setup Gin and gqlgen together:

Install Gin:
```bash
$ go get gin
$ go get github.com/gin-gonic/gin
```

In your router file, define the handlers for the GraphQL and Playground endpoints in two different methods and tie then together in the Gin router:
Expand Down

0 comments on commit 52624e5

Please sign in to comment.