~samwhited/xmpp

4f2733df1330895d4d52156505dc2c721ed43e9e — Sam Whited 2 months ago 16fcfed
all: fix lints in doc comments

Signed-off-by: Sam Whited <sam@samwhited.com>
3 files changed, 3 insertions(+), 2 deletions(-)

M blocklist/blocking.go
M history/history.go
M mux/mux.go
M blocklist/blocking.go => blocklist/blocking.go +1 -1
@@ 2,7 2,7 @@
// Use of this source code is governed by the BSD 2-clause
// license that can be found in the LICENSE file.

// Package blocking implements blocking and unblocking of contacts.
// Package blocklist implements blocking and unblocking of contacts.
package blocklist // import "mellium.im/xmpp/blocklist"

import (

M history/history.go => history/history.go +1 -0
@@ 55,6 55,7 @@ func (h *Handler) remove(id string) {
	}
}

// HandleMessage implements mux.MessageHandler.
func (h *Handler) HandleMessage(msg stanza.Message, r xmlstream.TokenReadEncoder) error {
	// TODO: iterate through and find result.
	msgTok, err := r.Token()

M mux/mux.go => mux/mux.go +1 -1
@@ 322,7 322,7 @@ func (m *ServeMux) ForIdentities(node string, f func(info.Identity) error) error
	return nil
}

// ForIdentities implements form.Iter for the mux by iterating over all child
// ForForms implements form.Iter for the mux by iterating over all child
// handlers.
func (m *ServeMux) ForForms(node string, f func(*form.Data) error) error {
	for _, h := range m.patterns {