From c691d422395cb72283512d8956a255db10b70b44 Mon Sep 17 00:00:00 2001 From: Alexander Kiryukhin Date: Thu, 4 Apr 2019 22:56:53 +0300 Subject: v0.4.3 Added: - Hooks for lifecycle events Fixed: - Close errors channel - Small fixes --- example/policies.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/policies.go') 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) -- cgit v1.2.3