fixed some imports
This commit is contained in:
parent
7e2a2bc5d9
commit
f8b489f4a0
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,7 +1,7 @@
|
||||
vendor/
|
||||
.idea/
|
||||
Gopkg.lock
|
||||
magneticow/bindata.go
|
||||
cmd/magneticow/bindata.go
|
||||
|
||||
|
||||
# Created by https://www.gitignore.io/api/go,linux,macos,windows
|
||||
|
@ -16,7 +16,7 @@ import (
|
||||
|
||||
"go.uber.org/zap"
|
||||
|
||||
"magnetico/persistence"
|
||||
"github.com/boramalper/magnetico/pkg/persistence"
|
||||
)
|
||||
|
||||
const MAX_METADATA_SIZE = 10 * 1024 * 1024
|
||||
|
@ -9,8 +9,8 @@ import (
|
||||
|
||||
"go.uber.org/zap"
|
||||
|
||||
"magnetico/magneticod/dht/mainline"
|
||||
"magnetico/persistence"
|
||||
"github.com/boramalper/magnetico/cmd/magneticod/dht/mainline"
|
||||
"github.com/boramalper/magnetico/pkg/persistence"
|
||||
)
|
||||
|
||||
type Metadata struct {
|
||||
|
@ -1,6 +1,6 @@
|
||||
package dht
|
||||
|
||||
import "magnetico/magneticod/dht/mainline"
|
||||
import "github.com/boramalper/magnetico/cmd/magneticod/dht/mainline"
|
||||
|
||||
type TrawlingManager struct {
|
||||
// private
|
||||
|
@ -6,19 +6,19 @@ import (
|
||||
"net"
|
||||
"os"
|
||||
"os/signal"
|
||||
"path"
|
||||
"runtime/pprof"
|
||||
"time"
|
||||
|
||||
"github.com/jessevdk/go-flags"
|
||||
"go.uber.org/zap"
|
||||
"go.uber.org/zap/zapcore"
|
||||
|
||||
"magnetico/magneticod/bittorrent"
|
||||
"magnetico/magneticod/dht"
|
||||
"github.com/boramalper/magnetico/cmd/magneticod/bittorrent"
|
||||
"github.com/boramalper/magnetico/cmd/magneticod/dht"
|
||||
|
||||
"magnetico/persistence"
|
||||
"runtime/pprof"
|
||||
"github.com/Wessie/appdirs"
|
||||
"path"
|
||||
"github.com/boramalper/magnetico/pkg/persistence"
|
||||
)
|
||||
|
||||
type cmdFlags struct {
|
||||
|
@ -1,22 +1,22 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"encoding/hex"
|
||||
"html/template"
|
||||
"log"
|
||||
"net/http"
|
||||
"os"
|
||||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
"unsafe"
|
||||
|
||||
"github.com/dustin/go-humanize"
|
||||
"github.com/gorilla/mux"
|
||||
"go.uber.org/zap"
|
||||
"go.uber.org/zap/zapcore"
|
||||
|
||||
"encoding/hex"
|
||||
"magnetico/persistence"
|
||||
"strconv"
|
||||
"time"
|
||||
"unsafe"
|
||||
"github.com/boramalper/magnetico/pkg/persistence"
|
||||
)
|
||||
|
||||
const N_TORRENTS = 20
|
||||
|
Loading…
Reference in New Issue
Block a user