diff options
author | Alexander Kiryukhin <alexander@kiryukhin.su> | 2019-04-04 22:56:53 +0300 |
---|---|---|
committer | Alexander Kiryukhin <alexander@kiryukhin.su> | 2019-04-04 22:56:53 +0300 |
commit | c691d422395cb72283512d8956a255db10b70b44 (patch) | |
tree | c913d176c23495a8aa82ecc98089de10074c0929 /example | |
parent | 04db7b633980e7c39e582479ea41608907aa45b2 (diff) |
v0.4.3v0.4.3
Added:
- Hooks for lifecycle events
Fixed:
- Close errors channel
- Small fixes
Diffstat (limited to 'example')
-rw-r--r-- | example/policies.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/policies.go b/example/policies.go index 7a81359..3e14f5a 100644 --- a/example/policies.go +++ b/example/policies.go @@ -15,7 +15,7 @@ func main() { // New instance with builtin context r := rutina.New() - r = r.With(rutina.WithErrChan()) + r = r.With(rutina.WithErrChan(), rutina.WithStdLogger()) r.Go(func(ctx context.Context) error { <-time.After(1 * time.Second) |