ducky/subscriptions

Paddy 2015-09-27 Parent:b240b6123548

13:1ff031bebf9e Go to Latest

ducky/subscriptions/memstore.go

Add golint comments. Comment on some more of our exported types, functions, and variables, both to make golint happy and because uncommented code never ever ends well.

History
     1.1 --- a/memstore.go	Sun Sep 27 21:20:09 2015 -0700
     1.2 +++ b/memstore.go	Sun Sep 27 21:20:46 2015 -0700
     1.3 @@ -19,6 +19,8 @@
     1.4  	}
     1.5  }
     1.6  
     1.7 +// Reset empties all the data from the Memstore. It should only
     1.8 +// be used in tests.
     1.9  func (m *Memstore) Reset() error {
    1.10  	m.subscriptionLock.Lock()
    1.11  	defer m.subscriptionLock.Unlock()