Skip to content

Commit

Permalink
chore: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
appleboy committed Jan 7, 2020
1 parent 8fe58fd commit 7e3a047
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ import "github.com/appleboy/gin-jwt"

## Example

Please see [the example file](example/basic/server.go) and you can use `ExtractClaims` to fetch user data.
Please see [the example file](_example/basic/server.go) and you can use `ExtractClaims` to fetch user data.

[embedmd]:# (example/basic/server.go go)
[embedmd]:# (_example/basic/server.go go)
```go
package main

Expand Down Expand Up @@ -190,10 +190,10 @@ func main() {

## Demo

Please run example/server.go file and listen `8000` port.
Please run _example/server.go file and listen `8000` port.

```sh
go run example/server.go
go run _example/server.go
```

Download and install [httpie](https://github.com/jkbrzt/httpie) CLI HTTP client.
Expand Down
File renamed without changes.

0 comments on commit 7e3a047

Please sign in to comment.