mirror of https://github.com/gin-gonic/gin.git
README: Small update to clarify on Goroutines (#1199)
This commit is contained in:
parent
9e895470dd
commit
13a40fcd2c
|
@ -1071,7 +1071,7 @@ func main() {
|
|||
|
||||
### Goroutines inside a middleware
|
||||
|
||||
When starting inside a middleware or handler, you **SHOULD NOT** use the original context inside it, you have to use a read-only copy.
|
||||
When starting new Goroutines inside a middleware or handler, you **SHOULD NOT** use the original context inside it, you have to use a read-only copy.
|
||||
|
||||
```go
|
||||
func main() {
|
||||
|
|
Loading…
Reference in New Issue