Change module name to distribyted/distribyted (#36)

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
This commit is contained in:
Antonio Navarro Perez 2021-03-01 17:43:28 +01:00 committed by GitHub
parent 42f7e0ebd3
commit 0f513ef8b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 23 additions and 23 deletions

View file

@ -3,7 +3,7 @@
package main package main
import ( import (
"github.com/ajnavarro/distribyted" "github.com/distribyted/distribyted"
"github.com/shurcooL/vfsgen" "github.com/shurcooL/vfsgen"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )

View file

@ -6,14 +6,14 @@ import (
"os/signal" "os/signal"
"syscall" "syscall"
"github.com/ajnavarro/distribyted/config"
"github.com/ajnavarro/distribyted/fuse"
"github.com/ajnavarro/distribyted/http"
"github.com/ajnavarro/distribyted/stats"
"github.com/ajnavarro/distribyted/torrent"
"github.com/anacrolix/missinggo/v2/filecache" "github.com/anacrolix/missinggo/v2/filecache"
t "github.com/anacrolix/torrent" t "github.com/anacrolix/torrent"
"github.com/anacrolix/torrent/storage" "github.com/anacrolix/torrent/storage"
"github.com/distribyted/distribyted/config"
"github.com/distribyted/distribyted/fuse"
"github.com/distribyted/distribyted/http"
"github.com/distribyted/distribyted/stats"
"github.com/distribyted/distribyted/torrent"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
) )

View file

@ -6,7 +6,7 @@ import (
"os" "os"
"path" "path"
"github.com/ajnavarro/distribyted" "github.com/distribyted/distribyted"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"gopkg.in/yaml.v3" "gopkg.in/yaml.v3"
) )

View file

@ -1,7 +1,7 @@
package fs package fs
import ( import (
"github.com/ajnavarro/distribyted/iio" "github.com/distribyted/distribyted/iio"
) )
type File interface { type File interface {

View file

@ -1,8 +1,8 @@
package fs package fs
import ( import (
"github.com/ajnavarro/distribyted/iio"
"github.com/anacrolix/torrent" "github.com/anacrolix/torrent"
"github.com/distribyted/distribyted/iio"
) )
var _ Filesystem = &Torrent{} var _ Filesystem = &Torrent{}

View file

@ -4,7 +4,7 @@ import (
"archive/zip" "archive/zip"
"os" "os"
"github.com/ajnavarro/distribyted/iio" "github.com/distribyted/distribyted/iio"
) )
var _ Filesystem = &Zip{} var _ Filesystem = &Zip{}

View file

@ -6,7 +6,7 @@ import (
"io" "io"
"testing" "testing"
"github.com/ajnavarro/distribyted/iio" "github.com/distribyted/distribyted/iio"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -6,11 +6,11 @@ import (
"path" "path"
"runtime" "runtime"
"github.com/ajnavarro/distribyted/config"
"github.com/ajnavarro/distribyted/fs"
"github.com/ajnavarro/distribyted/stats"
"github.com/anacrolix/torrent" "github.com/anacrolix/torrent"
"github.com/billziss-gh/cgofuse/fuse" "github.com/billziss-gh/cgofuse/fuse"
"github.com/distribyted/distribyted/config"
"github.com/distribyted/distribyted/fs"
"github.com/distribyted/distribyted/stats"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )

View file

@ -7,8 +7,8 @@ import (
"os" "os"
"sync" "sync"
"github.com/ajnavarro/distribyted/fs"
"github.com/billziss-gh/cgofuse/fuse" "github.com/billziss-gh/cgofuse/fuse"
"github.com/distribyted/distribyted/fs"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )

4
go.mod
View file

@ -1,4 +1,4 @@
module github.com/ajnavarro/distribyted module github.com/distribyted/distribyted
go 1.15 go 1.15
@ -31,7 +31,7 @@ require (
github.com/urfave/cli/v2 v2.3.0 github.com/urfave/cli/v2 v2.3.0
github.com/willf/bitset v1.1.11 // indirect github.com/willf/bitset v1.1.11 // indirect
golang.org/x/crypto v0.0.0-20201112155050-0c6587e931a9 // indirect golang.org/x/crypto v0.0.0-20201112155050-0c6587e931a9 // indirect
golang.org/x/net v0.0.0-20201110031124-69a78807bb2b // indirect golang.org/x/net v0.0.0-20201110031124-69a78807bb2b
golang.org/x/sys v0.0.0-20201113233024-12cec1faf1ba // indirect golang.org/x/sys v0.0.0-20201113233024-12cec1faf1ba // indirect
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e // indirect golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e // indirect
google.golang.org/protobuf v1.25.0 // indirect google.golang.org/protobuf v1.25.0 // indirect

View file

@ -7,9 +7,9 @@ import (
"net/http" "net/http"
"sort" "sort"
"github.com/ajnavarro/distribyted/config"
"github.com/ajnavarro/distribyted/stats"
"github.com/anacrolix/missinggo/v2/filecache" "github.com/anacrolix/missinggo/v2/filecache"
"github.com/distribyted/distribyted/config"
"github.com/distribyted/distribyted/stats"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
) )

View file

@ -3,10 +3,10 @@ package http
import ( import (
"fmt" "fmt"
"github.com/ajnavarro/distribyted"
"github.com/ajnavarro/distribyted/config"
"github.com/ajnavarro/distribyted/stats"
"github.com/anacrolix/missinggo/v2/filecache" "github.com/anacrolix/missinggo/v2/filecache"
"github.com/distribyted/distribyted"
"github.com/distribyted/distribyted/config"
"github.com/distribyted/distribyted/stats"
"github.com/gin-contrib/static" "github.com/gin-contrib/static"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/shurcooL/httpfs/html/vfstemplate" "github.com/shurcooL/httpfs/html/vfstemplate"

View file

@ -3,7 +3,7 @@ package http
import ( import (
"net/http" "net/http"
"github.com/ajnavarro/distribyted/stats" "github.com/distribyted/distribyted/stats"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
) )