aboutsummaryrefslogtreecommitdiff
path: root/rutina.go
diff options
context:
space:
mode:
authorAlexander Kiryukhin <a.kiryukhin@corp.mail.ru>2019-04-04 12:02:49 +0300
committerAlexander Kiryukhin <a.kiryukhin@corp.mail.ru>2019-04-04 12:02:49 +0300
commit04db7b633980e7c39e582479ea41608907aa45b2 (patch)
tree09ec1ad1f7edfce7c6bda89763912234f7bbba63 /rutina.go
parent08cbc9b6c05427fd3864bab55a4b40146c54639d (diff)
Linter fixv0.4.2
Diffstat (limited to 'rutina.go')
-rwxr-xr-xrutina.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rutina.go b/rutina.go
index a38c384..9531cbb 100755
--- a/rutina.go
+++ b/rutina.go
@@ -25,7 +25,7 @@ type Rutina struct {
// New instance with builtin context
func New(mixins ...Mixin) *Rutina {
ctx, cancel := context.WithCancel(context.Background())
- var counter uint64 = 0
+ var counter uint64
r := &Rutina{ctx: ctx, Cancel: cancel, counter: &counter, errCh: nil}
return r.With(mixins...)
}