Update Support Go version (#143)

This commit is contained in:
ZhangJian He
2022-01-30 09:14:29 +08:00
committed by GitHub
parent bf2b91c535
commit 94ff8e8405
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ func (this *memTopics) Unsubscribe(topic []byte, sub interface{}) error {
return this.sroot.sremove(topic, sub)
}
// Returned values will be invalidated by the next Subscribers call
// Subscribers Returned values will be invalidated by the next Subscribers call
func (this *memTopics) Subscribers(topic []byte, qos byte, subs *[]interface{}, qoss *[]byte) error {
if !ValidQos(qos) {
return fmt.Errorf("Invalid QoS %d", qos)