diff options
author | Alexander Kiryukhin <alexander@kiryukhin.su> | 2019-01-17 07:57:51 +0300 |
---|---|---|
committer | Alexander Kiryukhin <alexander@kiryukhin.su> | 2019-01-17 07:57:51 +0300 |
commit | 11a32ca219905f7c42698b55b6af9920626b7b51 (patch) | |
tree | cab1f8033067111f6214a4b642750ad00147d3de /README.md | |
parent | c5776ba6a3d8303650208ee8abc8f63cadf5127a (diff) |
Remove context from constructorv0.2.1
Diffstat (limited to 'README.md')
-rwxr-xr-x | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ HTTP server with graceful shutdown (`example/http_server.go`): ``` // New instance with builtin context. Alternative: r, ctx := rutina.WithContext(ctx) -r, _ := rutina.New(rutina.WithStdLogger()) +r := rutina.New(rutina.WithStdLogger()) srv := &http.Server{Addr: ":8080"} http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { |