Update Support Go version (#143)

This commit is contained in:
ZhangJian He authored and GitHub committed 2022-01-30 09:14:29 +08:00
1 parent bf2b91c535
commit 94ff8e8405
5 files changed
+6 -6

No files matched your search

+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)