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
1 changed files with 3 additions and 3 deletions

View File

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