With go modules, we should be able to remove import comments

This commit is contained in:
Mickael Remond 2019-06-18 16:28:30 +02:00
parent c8ded1462f
commit 4d015e5b29
No known key found for this signature in database
GPG key ID: E6F6045D79965AA3
37 changed files with 37 additions and 39 deletions

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"encoding/base64"

View file

@ -20,7 +20,7 @@ TODO: Implement Backoff Ticker channel
TODO: Implement throttler interface. Throttler could be used to implement various reconnect strategies.
*/
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"math"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"crypto/tls"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"encoding/xml"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"encoding/xml"

View file

@ -1,4 +1,4 @@
package main // import "gosrc.io/xmpp"
package main
import (
"log"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"crypto/sha1"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"encoding/xml"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"io"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"fmt"

2
doc.go
View file

@ -29,4 +29,4 @@ Fluux XMPP has been primarily tested with ejabberd (https://www.ejabberd.im)
but it should work with any XMPP compliant server.
*/
package xmpp // import "gosrc.io/xmpp"
package xmpp

2
go.mod
View file

@ -1,6 +1,6 @@
module gosrc.io/xmpp
go 1.9
go 1.12
require (
github.com/google/go-cmp v0.2.0

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"encoding/xml"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"encoding/xml"

2
iq.go
View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"encoding/xml"

2
jid.go
View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"fmt"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"testing"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"encoding/xml"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import "encoding/xml"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import "encoding/xml"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import "encoding/xml"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import "encoding/xml"

2
ns.go
View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
const (
NSStream = "http://etherx.jabber.org/streams"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
type Packet interface {
Name() string

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"encoding/xml"

4
pep.go
View file

@ -1,6 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
// TODO: Move to a pubsub file
package xmpp
import (
"encoding/xml"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import "encoding/xml"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"encoding/xml"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"encoding/xml"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"encoding/xml"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"strings"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"crypto/tls"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"io"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"crypto/tls"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"encoding/xml"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"errors"

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"net"