fixed some imports

This commit is contained in:
Bora Alper 2018-04-16 16:40:54 +01:00
parent 7e2a2bc5d9
commit f8b489f4a0
6 changed files with 15 additions and 15 deletions

2
.gitignore vendored
View File

@ -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

View File

@ -16,7 +16,7 @@ import (
"go.uber.org/zap"
"magnetico/persistence"
"github.com/boramalper/magnetico/pkg/persistence"
)
const MAX_METADATA_SIZE = 10 * 1024 * 1024

View File

@ -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 {

View File

@ -1,6 +1,6 @@
package dht
import "magnetico/magneticod/dht/mainline"
import "github.com/boramalper/magnetico/cmd/magneticod/dht/mainline"
type TrawlingManager struct {
// private

View File

@ -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 {

View File

@ -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