From 0f513ef8b36c3c35ccc4783705c0b39b1c7ac9ae Mon Sep 17 00:00:00 2001 From: Antonio Navarro Perez Date: Mon, 1 Mar 2021 17:43:28 +0100 Subject: [PATCH] Change module name to distribyted/distribyted (#36) Signed-off-by: Antonio Navarro Perez --- build_tools/assets_generate/main.go | 2 +- cmd/distribyted/main.go | 10 +++++----- config/handler.go | 2 +- fs/fs.go | 2 +- fs/torrent.go | 2 +- fs/zip.go | 2 +- fs/zip_test.go | 2 +- fuse/handler.go | 6 +++--- fuse/mount.go | 2 +- go.mod | 4 ++-- http/api.go | 4 ++-- http/http.go | 6 +++--- http/web.go | 2 +- 13 files changed, 23 insertions(+), 23 deletions(-) diff --git a/build_tools/assets_generate/main.go b/build_tools/assets_generate/main.go index fdd3931..0b1d181 100644 --- a/build_tools/assets_generate/main.go +++ b/build_tools/assets_generate/main.go @@ -3,7 +3,7 @@ package main import ( - "github.com/ajnavarro/distribyted" + "github.com/distribyted/distribyted" "github.com/shurcooL/vfsgen" log "github.com/sirupsen/logrus" ) diff --git a/cmd/distribyted/main.go b/cmd/distribyted/main.go index d9d7180..44c475d 100644 --- a/cmd/distribyted/main.go +++ b/cmd/distribyted/main.go @@ -6,14 +6,14 @@ import ( "os/signal" "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" t "github.com/anacrolix/torrent" "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/urfave/cli/v2" ) diff --git a/config/handler.go b/config/handler.go index afbc9de..30c7aba 100644 --- a/config/handler.go +++ b/config/handler.go @@ -6,7 +6,7 @@ import ( "os" "path" - "github.com/ajnavarro/distribyted" + "github.com/distribyted/distribyted" "github.com/sirupsen/logrus" "gopkg.in/yaml.v3" ) diff --git a/fs/fs.go b/fs/fs.go index caeeb9d..845ae9b 100644 --- a/fs/fs.go +++ b/fs/fs.go @@ -1,7 +1,7 @@ package fs import ( - "github.com/ajnavarro/distribyted/iio" + "github.com/distribyted/distribyted/iio" ) type File interface { diff --git a/fs/torrent.go b/fs/torrent.go index 0e1e1e6..101411d 100644 --- a/fs/torrent.go +++ b/fs/torrent.go @@ -1,8 +1,8 @@ package fs import ( - "github.com/ajnavarro/distribyted/iio" "github.com/anacrolix/torrent" + "github.com/distribyted/distribyted/iio" ) var _ Filesystem = &Torrent{} diff --git a/fs/zip.go b/fs/zip.go index bb6cade..d2234a8 100644 --- a/fs/zip.go +++ b/fs/zip.go @@ -4,7 +4,7 @@ import ( "archive/zip" "os" - "github.com/ajnavarro/distribyted/iio" + "github.com/distribyted/distribyted/iio" ) var _ Filesystem = &Zip{} diff --git a/fs/zip_test.go b/fs/zip_test.go index 708a431..cbe7de1 100644 --- a/fs/zip_test.go +++ b/fs/zip_test.go @@ -6,7 +6,7 @@ import ( "io" "testing" - "github.com/ajnavarro/distribyted/iio" + "github.com/distribyted/distribyted/iio" "github.com/stretchr/testify/require" ) diff --git a/fuse/handler.go b/fuse/handler.go index 6f2fc8a..f4f63f5 100644 --- a/fuse/handler.go +++ b/fuse/handler.go @@ -6,11 +6,11 @@ import ( "path" "runtime" - "github.com/ajnavarro/distribyted/config" - "github.com/ajnavarro/distribyted/fs" - "github.com/ajnavarro/distribyted/stats" "github.com/anacrolix/torrent" "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" ) diff --git a/fuse/mount.go b/fuse/mount.go index 927dc5a..6f68787 100644 --- a/fuse/mount.go +++ b/fuse/mount.go @@ -7,8 +7,8 @@ import ( "os" "sync" - "github.com/ajnavarro/distribyted/fs" "github.com/billziss-gh/cgofuse/fuse" + "github.com/distribyted/distribyted/fs" "github.com/sirupsen/logrus" ) diff --git a/go.mod b/go.mod index 5b38a23..d0066ba 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/ajnavarro/distribyted +module github.com/distribyted/distribyted go 1.15 @@ -31,7 +31,7 @@ require ( github.com/urfave/cli/v2 v2.3.0 github.com/willf/bitset v1.1.11 // 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/time v0.0.0-20200630173020-3af7569d3a1e // indirect google.golang.org/protobuf v1.25.0 // indirect diff --git a/http/api.go b/http/api.go index 319ed53..e94ffd4 100644 --- a/http/api.go +++ b/http/api.go @@ -7,9 +7,9 @@ import ( "net/http" "sort" - "github.com/ajnavarro/distribyted/config" - "github.com/ajnavarro/distribyted/stats" "github.com/anacrolix/missinggo/v2/filecache" + "github.com/distribyted/distribyted/config" + "github.com/distribyted/distribyted/stats" "github.com/gin-gonic/gin" ) diff --git a/http/http.go b/http/http.go index 6314aab..994d118 100644 --- a/http/http.go +++ b/http/http.go @@ -3,10 +3,10 @@ package http import ( "fmt" - "github.com/ajnavarro/distribyted" - "github.com/ajnavarro/distribyted/config" - "github.com/ajnavarro/distribyted/stats" "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-gonic/gin" "github.com/shurcooL/httpfs/html/vfstemplate" diff --git a/http/web.go b/http/web.go index d35cea5..2da7258 100644 --- a/http/web.go +++ b/http/web.go @@ -3,7 +3,7 @@ package http import ( "net/http" - "github.com/ajnavarro/distribyted/stats" + "github.com/distribyted/distribyted/stats" "github.com/gin-gonic/gin" )