From 52624e5372f260077e90645732dd24b8d1fad317 Mon Sep 17 00:00:00 2001 From: Antek Baranski <3769441+Sauraus@users.noreply.github.com> Date: Thu, 21 Mar 2019 13:13:15 -0700 Subject: [PATCH] Fix Gin installation instruction Current `go get gin` instruction results in an error from Go: `package gin: unrecognized import path "gin" (import path does not begin with hostname)` --- docs/content/recipes/gin.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/recipes/gin.md b/docs/content/recipes/gin.md index 01b048ded4..fb4e445689 100644 --- a/docs/content/recipes/gin.md +++ b/docs/content/recipes/gin.md @@ -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: