| @ -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") | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user