Move project to gosrc.io/xmpp

The URL will be more permanent as this is a place we dedicate as short URL for our go projects.
This commit is contained in:
Mickael Remond
2018-12-26 18:50:01 +01:00
parent 95585866c2
commit 5eae7f4ef7
30 changed files with 45 additions and 45 deletions

4
jid.go
View File

@@ -1,4 +1,4 @@
package xmpp // import "fluux.io/xmpp"
package xmpp // import "gosrc.io/xmpp"
import (
"errors"
@@ -22,7 +22,7 @@ func NewJid(sjid string) (jid *Jid, err error) {
s2 := strings.Split(s1[1], "/")
if len(s2) > 2 {
err = errors.New("invalid JID: " + sjid)
err = errors.New("invalid JID: " + sjidd)
return
}
jid.domain = s2[0]