diff --git a/cmd/admin.go b/cmd/admin.go index c04dd1d..b232517 100644 --- a/cmd/admin.go +++ b/cmd/admin.go @@ -6,9 +6,8 @@ import ( "os" "strings" "syscall" - - "github.com/ditatompel/xmr-nodes/internal/database" - "github.com/ditatompel/xmr-nodes/internal/repo" + "xmr-remote-nodes/internal/database" + "xmr-remote-nodes/internal/repo" "github.com/spf13/cobra" "golang.org/x/term" diff --git a/cmd/import.go b/cmd/import.go index 4a20783..88040a6 100644 --- a/cmd/import.go +++ b/cmd/import.go @@ -4,8 +4,7 @@ import ( "encoding/json" "fmt" "net/http" - - "github.com/ditatompel/xmr-nodes/internal/database" + "xmr-remote-nodes/internal/database" "github.com/spf13/cobra" ) diff --git a/cmd/probe.go b/cmd/probe.go index 596c04b..403ac34 100644 --- a/cmd/probe.go +++ b/cmd/probe.go @@ -11,9 +11,8 @@ import ( "net/http" "os" "time" - - "github.com/ditatompel/xmr-nodes/internal/config" - "github.com/ditatompel/xmr-nodes/internal/repo" + "xmr-remote-nodes/internal/config" + "xmr-remote-nodes/internal/repo" "github.com/spf13/cobra" "golang.org/x/net/proxy" diff --git a/cmd/root.go b/cmd/root.go index c81eb2a..faace09 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -2,8 +2,7 @@ package cmd import ( "os" - - "github.com/ditatompel/xmr-nodes/internal/config" + "xmr-remote-nodes/internal/config" "github.com/spf13/cobra" ) diff --git a/cmd/serve.go b/cmd/serve.go index edbd66e..6f010f4 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -5,12 +5,11 @@ import ( "os" "os/signal" "syscall" - - "github.com/ditatompel/xmr-nodes/frontend" - "github.com/ditatompel/xmr-nodes/handler" - "github.com/ditatompel/xmr-nodes/internal/config" - "github.com/ditatompel/xmr-nodes/internal/database" - "github.com/ditatompel/xmr-nodes/internal/repo" + "xmr-remote-nodes/frontend" + "xmr-remote-nodes/handler" + "xmr-remote-nodes/internal/config" + "xmr-remote-nodes/internal/database" + "xmr-remote-nodes/internal/repo" "github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2/middleware/cors" diff --git a/go.mod b/go.mod index 198d9aa..c2fd0ea 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/ditatompel/xmr-nodes +module xmr-remote-nodes go 1.22.2 diff --git a/handler/middlewares.go b/handler/middlewares.go index 9718943..9d6338d 100644 --- a/handler/middlewares.go +++ b/handler/middlewares.go @@ -1,8 +1,8 @@ package handler import ( - "github.com/ditatompel/xmr-nodes/internal/database" - "github.com/ditatompel/xmr-nodes/internal/repo" + "xmr-remote-nodes/internal/database" + "xmr-remote-nodes/internal/repo" "github.com/gofiber/fiber/v2" ) diff --git a/handler/response.go b/handler/response.go index 77ed8a3..89ad66e 100644 --- a/handler/response.go +++ b/handler/response.go @@ -4,9 +4,8 @@ import ( "fmt" "strconv" "time" - - "github.com/ditatompel/xmr-nodes/internal/database" - "github.com/ditatompel/xmr-nodes/internal/repo" + "xmr-remote-nodes/internal/database" + "xmr-remote-nodes/internal/repo" "github.com/gofiber/fiber/v2" ) diff --git a/internal/database/mysql.go b/internal/database/mysql.go index 558d26e..298f0ff 100644 --- a/internal/database/mysql.go +++ b/internal/database/mysql.go @@ -2,8 +2,7 @@ package database import ( "fmt" - - "github.com/ditatompel/xmr-nodes/internal/config" + "xmr-remote-nodes/internal/config" _ "github.com/go-sql-driver/mysql" "github.com/jmoiron/sqlx" diff --git a/internal/repo/admin.go b/internal/repo/admin.go index 49918bf..fd3ef0a 100644 --- a/internal/repo/admin.go +++ b/internal/repo/admin.go @@ -5,8 +5,7 @@ import ( "fmt" "strings" "time" - - "github.com/ditatompel/xmr-nodes/internal/database" + "xmr-remote-nodes/internal/database" "github.com/alexedwards/argon2id" ) diff --git a/internal/repo/cron.go b/internal/repo/cron.go index 1589b5f..91f2d84 100644 --- a/internal/repo/cron.go +++ b/internal/repo/cron.go @@ -6,8 +6,7 @@ import ( "slices" "strings" "time" - - "github.com/ditatompel/xmr-nodes/internal/database" + "xmr-remote-nodes/internal/database" ) type CronRepository interface { diff --git a/internal/repo/monero.go b/internal/repo/monero.go index 2364cde..c159684 100644 --- a/internal/repo/monero.go +++ b/internal/repo/monero.go @@ -10,8 +10,7 @@ import ( "slices" "strings" "time" - - "github.com/ditatompel/xmr-nodes/internal/database" + "xmr-remote-nodes/internal/database" "github.com/jmoiron/sqlx/types" ) diff --git a/internal/repo/prober.go b/internal/repo/prober.go index 2f07e12..9e3f0d5 100644 --- a/internal/repo/prober.go +++ b/internal/repo/prober.go @@ -4,8 +4,7 @@ import ( "fmt" "slices" "strings" - - "github.com/ditatompel/xmr-nodes/internal/database" + "xmr-remote-nodes/internal/database" "github.com/google/uuid" ) diff --git a/main.go b/main.go index b93e565..ec552ae 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,6 @@ package main -import "github.com/ditatompel/xmr-nodes/cmd" +import "xmr-remote-nodes/cmd" func main() { cmd.Execute()