move lock

This commit is contained in:
Asim Aslam 2019-07-29 12:52:52 +01:00
parent 104778e5e5
commit 11f80708ce

View File

@ -7,10 +7,10 @@ import (
)
type svcWatcher struct {
sync.RWMutex
opts router.WatchOptions
resChan chan *router.Event
done chan struct{}
sync.RWMutex
}
// Next is a blocking call that returns watch result