diff options
author | Alexander Kiryukhin <a.kiryukhin@corp.mail.ru> | 2019-04-04 12:02:49 +0300 |
---|---|---|
committer | Alexander Kiryukhin <a.kiryukhin@corp.mail.ru> | 2019-04-04 12:02:49 +0300 |
commit | 04db7b633980e7c39e582479ea41608907aa45b2 (patch) | |
tree | 09ec1ad1f7edfce7c6bda89763912234f7bbba63 /rutina.go | |
parent | 08cbc9b6c05427fd3864bab55a4b40146c54639d (diff) |
Linter fixv0.4.2
Diffstat (limited to 'rutina.go')
-rwxr-xr-x | rutina.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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...) } |