forked from mirror/gin
Fix README.md
This commit is contained in:
parent
0ffb1ed953
commit
728e103924
|
@ -253,7 +253,7 @@ func main() {
|
||||||
```go
|
```go
|
||||||
func Logger() gin.HandlerFunc {
|
func Logger() gin.HandlerFunc {
|
||||||
return func(c *gin.Context) {
|
return func(c *gin.Context) {
|
||||||
t : time.Now()
|
t := time.Now()
|
||||||
|
|
||||||
// Set example variable
|
// Set example variable
|
||||||
c.Set("example", "12345")
|
c.Set("example", "12345")
|
||||||
|
|
Loading…
Reference in New Issue