mirror of
https://github.com/go-micro/go-micro.git
synced 2025-06-24 22:26:54 +02:00
move lock
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user