goimports decided to reorganise imports
This commit is contained in:
parent
a0a715c6f6
commit
1415c0d824
|
@ -1,13 +1,14 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"bitbucket.org/anacrolix/go.torrent"
|
||||
"bitbucket.org/anacrolix/go.torrent/tracker"
|
||||
_ "bitbucket.org/anacrolix/go.torrent/tracker/udp"
|
||||
"flag"
|
||||
metainfo "github.com/nsf/libtorgo/torrent"
|
||||
"log"
|
||||
"os"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
@ -2,11 +2,12 @@ package main
|
|||
|
||||
import (
|
||||
"flag"
|
||||
"github.com/nsf/libtorgo/torrent"
|
||||
"log"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
|
||||
"github.com/nsf/libtorgo/torrent"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -3,8 +3,9 @@ package main
|
|||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"github.com/nsf/libtorgo/torrent"
|
||||
"log"
|
||||
|
||||
"github.com/nsf/libtorgo/torrent"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
@ -1,17 +1,19 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"bitbucket.org/anacrolix/go.torrent"
|
||||
"bytes"
|
||||
"crypto/sha1"
|
||||
"flag"
|
||||
"fmt"
|
||||
|
||||
"bitbucket.org/anacrolix/go.torrent"
|
||||
// "github.com/davecheney/profile"
|
||||
metainfo "github.com/nsf/libtorgo/torrent"
|
||||
"launchpad.net/gommap"
|
||||
"log"
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
metainfo "github.com/nsf/libtorgo/torrent"
|
||||
"launchpad.net/gommap"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -1,12 +1,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"bazil.org/fuse"
|
||||
fusefs "bazil.org/fuse/fs"
|
||||
"bitbucket.org/anacrolix/go.torrent"
|
||||
"bitbucket.org/anacrolix/go.torrent/fs"
|
||||
"flag"
|
||||
metainfo "github.com/nsf/libtorgo/torrent"
|
||||
"log"
|
||||
"net"
|
||||
"net/http"
|
||||
|
@ -17,6 +12,12 @@ import (
|
|||
"path/filepath"
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"bazil.org/fuse"
|
||||
fusefs "bazil.org/fuse/fs"
|
||||
"bitbucket.org/anacrolix/go.torrent"
|
||||
"bitbucket.org/anacrolix/go.torrent/fs"
|
||||
metainfo "github.com/nsf/libtorgo/torrent"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
package torrentfs
|
||||
|
||||
import (
|
||||
"log"
|
||||
"os"
|
||||
"sync"
|
||||
|
||||
"bazil.org/fuse"
|
||||
fusefs "bazil.org/fuse/fs"
|
||||
"bitbucket.org/anacrolix/go.torrent"
|
||||
metainfo "github.com/nsf/libtorgo/torrent"
|
||||
"log"
|
||||
"os"
|
||||
"sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -2,6 +2,7 @@ package torrent
|
|||
|
||||
import (
|
||||
"io"
|
||||
|
||||
"launchpad.net/gommap"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package udp_tracker
|
||||
|
||||
import (
|
||||
"bitbucket.org/anacrolix/go.torrent/tracker"
|
||||
"bytes"
|
||||
"encoding/binary"
|
||||
"errors"
|
||||
|
@ -10,6 +9,8 @@ import (
|
|||
"net"
|
||||
"net/url"
|
||||
"time"
|
||||
|
||||
"bitbucket.org/anacrolix/go.torrent/tracker"
|
||||
)
|
||||
|
||||
type Action int32
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package udp_tracker
|
||||
|
||||
import (
|
||||
"bitbucket.org/anacrolix/go.torrent/tracker"
|
||||
"bytes"
|
||||
"crypto/rand"
|
||||
"encoding/binary"
|
||||
|
@ -10,6 +9,8 @@ import (
|
|||
"sync"
|
||||
"syscall"
|
||||
"testing"
|
||||
|
||||
"bitbucket.org/anacrolix/go.torrent/tracker"
|
||||
)
|
||||
|
||||
// Ensure net.IPs are stored big-endian, to match the way they're read from
|
||||
|
|
Loading…
Reference in New Issue