mirror of
https://forgejo.merr.is/annika/jwtauth.git
synced 2025-12-13 18:05:00 -05:00
Update formatting in README
This commit is contained in:
parent
d62dd5080d
commit
464e20f997
1 changed files with 25 additions and 23 deletions
|
|
@ -33,7 +33,8 @@ all unverified tokens, see jwtauth.Authenticator.
|
||||||
package myservice
|
package myservice
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/dgrijalva/jwt-go"
|
"net/http"
|
||||||
|
|
||||||
"github.com/goware/jwtauth"
|
"github.com/goware/jwtauth"
|
||||||
"github.com/pressly/chi"
|
"github.com/pressly/chi"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
@ -73,6 +74,7 @@ func router() http.Handler {
|
||||||
|
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# LICENSE
|
# LICENSE
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue