turn Advise structure in idiomatic go code

This commit is contained in:
Marcelo Pires
2018-09-07 17:50:16 +02:00
parent 66218f4616
commit 0fce9349d0
4 changed files with 88 additions and 24 deletions

View File

@ -51,6 +51,7 @@ func (s *Subscription) Channel() string {
return s.channel
}
//todo remove
func (s *Subscription) SubscriptionResult() chan error {
return s.ok
}