[#4510] fixed godoc typos

This commit is contained in:
Gani Georgiev
2024-03-07 11:53:54 +02:00
parent e5e2519f88
commit adab0da179
3 changed files with 4791 additions and 4809 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ type Client interface {
// Channel returns the client's communication channel.
Channel() chan Message
// Subscriptions returns a shallow copy of the the client subscriptions matching the prefixes.
// Subscriptions returns a shallow copy of the client subscriptions matching the prefixes.
// If no prefix is specified, returns all subscriptions.
Subscriptions(prefixes ...string) map[string]SubscriptionOptions
@@ -123,7 +123,7 @@ func (c *DefaultClient) Channel() chan Message {
// Subscriptions implements the [Client.Subscriptions] interface method.
//
// It returns a shallow copy of the the client subscriptions matching the prefixes.
// It returns a shallow copy of the client subscriptions matching the prefixes.
// If no prefix is specified, returns all subscriptions.
func (c *DefaultClient) Subscriptions(prefixes ...string) map[string]SubscriptionOptions {
c.mux.RLock()