Unify ‘github.com’ wording with code. (#26)

This commit is contained in:
Eason Lin 2017-06-28 00:18:33 +08:00 committed by Bo-Yi Wu
parent cf4846e6a6
commit 5c9b3fa52c

View File

@ -15,13 +15,13 @@ Gin middleware/handler to enable CORS support.
Download and install it: Download and install it:
```sh ```sh
$ go get gopkg.in/gin-contrib/cors.v1 $ go get github.com/gin-contrib/cors
``` ```
Import it in your code: Import it in your code:
```go ```go
import "gopkg.in/gin-contrib/cors.v1" import "github.com/gin-contrib/cors"
``` ```
### Canonical example: ### Canonical example:
@ -32,7 +32,7 @@ package main
import ( import (
"time" "time"
"gopkg.in/gin-contrib/cors.v1" "github.com/gin-contrib/cors"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
) )