README: Small update to clarify on Goroutines (#1199)

This commit is contained in:
Max Hilbrunner 2017-12-16 17:52:07 +01:00 committed by Bo-Yi Wu
parent 9e895470dd
commit 13a40fcd2c
1 changed files with 1 additions and 1 deletions

View File

@ -1071,7 +1071,7 @@ func main() {
### Goroutines inside a middleware ### 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 ```go
func main() { func main() {