[ci skip] update readme
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
6ebcc5f9c7
commit
fb918bcd82
1 changed files with 2 additions and 2 deletions
|
|
@ -13,13 +13,13 @@ Gin middleware/handler to enable CORS support.
|
||||||
|
|
||||||
### Start using it
|
### Start using it
|
||||||
|
|
||||||
1. Download and install it:
|
Download and install it:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ go get gopkg.in/gin-contrib/cors.v1
|
$ go get gopkg.in/gin-contrib/cors.v1
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Import it in your code:
|
Import it in your code:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "gopkg.in/gin-contrib/cors.v1"
|
import "gopkg.in/gin-contrib/cors.v1"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue