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 ( import (
"encoding/base64" "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. TODO: Implement throttler interface. Throttler could be used to implement various reconnect strategies.
*/ */
package xmpp // import "gosrc.io/xmpp" package xmpp
import ( import (
"math" "math"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp" package xmpp
import ( import (
"fmt" "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. 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 module gosrc.io/xmpp
go 1.9 go 1.12
require ( require (
github.com/google/go-cmp v0.2.0 github.com/google/go-cmp v0.2.0

View file

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

View file

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

2
iq.go
View file

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

2
jid.go
View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

2
ns.go
View file

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

View file

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

View file

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

4
pep.go
View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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