From 155deb889cc5d0dc30f8bff6e499a9606c239415 Mon Sep 17 00:00:00 2001 From: qowevisa Date: Mon, 4 Nov 2024 17:55:14 +0200 Subject: [PATCH] Change name of module --- cmd/http-server/main.go | 8 ++++---- go.mod | 2 +- handlers/card.go | 4 ++-- handlers/category.go | 4 ++-- handlers/debt.go | 4 ++-- handlers/income.go | 6 +++--- handlers/ping.go | 2 +- handlers/type.go | 4 ++-- handlers/user.go | 6 +++--- handlers/user_scope_CRUD.go | 4 ++-- middleware/auth.go | 4 ++-- 11 files changed, 24 insertions(+), 24 deletions(-) diff --git a/cmd/http-server/main.go b/cmd/http-server/main.go index 6534960..7475a08 100644 --- a/cmd/http-server/main.go +++ b/cmd/http-server/main.go @@ -6,10 +6,10 @@ import ( "github.com/swaggo/files" "github.com/swaggo/gin-swagger" - docs "git.qowevisa.me/Qowevisa/gonuts/docs" - "git.qowevisa.me/Qowevisa/gonuts/handlers" - "git.qowevisa.me/Qowevisa/gonuts/middleware" - "git.qowevisa.me/Qowevisa/gonuts/tokens" + docs "git.qowevisa.me/Qowevisa/fin-check-api/docs" + "git.qowevisa.me/Qowevisa/fin-check-api/handlers" + "git.qowevisa.me/Qowevisa/fin-check-api/middleware" + "git.qowevisa.me/Qowevisa/fin-check-api/tokens" "github.com/gin-contrib/cors" "github.com/gin-gonic/gin" ) diff --git a/go.mod b/go.mod index cbfe52b..f7d08bf 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module git.qowevisa.me/Qowevisa/gonuts +module git.qowevisa.me/Qowevisa/fin-check-api go 1.20 diff --git a/handlers/card.go b/handlers/card.go index 2efe3fd..caad4dc 100644 --- a/handlers/card.go +++ b/handlers/card.go @@ -1,8 +1,8 @@ package handlers import ( - "git.qowevisa.me/Qowevisa/gonuts/db" - "git.qowevisa.me/Qowevisa/gonuts/types" + "git.qowevisa.me/Qowevisa/fin-check-api/db" + "git.qowevisa.me/Qowevisa/fin-check-api/types" "github.com/gin-gonic/gin" ) diff --git a/handlers/category.go b/handlers/category.go index 620b973..c0ed0d6 100644 --- a/handlers/category.go +++ b/handlers/category.go @@ -1,8 +1,8 @@ package handlers import ( - "git.qowevisa.me/Qowevisa/gonuts/db" - "git.qowevisa.me/Qowevisa/gonuts/types" + "git.qowevisa.me/Qowevisa/fin-check-api/db" + "git.qowevisa.me/Qowevisa/fin-check-api/types" "github.com/gin-gonic/gin" ) diff --git a/handlers/debt.go b/handlers/debt.go index 5eb6871..bd6ce7f 100644 --- a/handlers/debt.go +++ b/handlers/debt.go @@ -1,8 +1,8 @@ package handlers import ( - "git.qowevisa.me/Qowevisa/gonuts/db" - "git.qowevisa.me/Qowevisa/gonuts/types" + "git.qowevisa.me/Qowevisa/fin-check-api/db" + "git.qowevisa.me/Qowevisa/fin-check-api/types" "github.com/gin-gonic/gin" ) diff --git a/handlers/income.go b/handlers/income.go index be9d8b8..3ee9b90 100644 --- a/handlers/income.go +++ b/handlers/income.go @@ -4,9 +4,9 @@ import ( "fmt" "strconv" - "git.qowevisa.me/Qowevisa/gonuts/db" - "git.qowevisa.me/Qowevisa/gonuts/types" - "git.qowevisa.me/Qowevisa/gonuts/utils" + "git.qowevisa.me/Qowevisa/fin-check-api/db" + "git.qowevisa.me/Qowevisa/fin-check-api/types" + "git.qowevisa.me/Qowevisa/fin-check-api/utils" "github.com/gin-gonic/gin" ) diff --git a/handlers/ping.go b/handlers/ping.go index 94fd457..2ec0b46 100644 --- a/handlers/ping.go +++ b/handlers/ping.go @@ -1,7 +1,7 @@ package handlers import ( - "git.qowevisa.me/Qowevisa/gonuts/types" + "git.qowevisa.me/Qowevisa/fin-check-api/types" "github.com/gin-gonic/gin" ) diff --git a/handlers/type.go b/handlers/type.go index 0705aff..a7795d0 100644 --- a/handlers/type.go +++ b/handlers/type.go @@ -1,8 +1,8 @@ package handlers import ( - "git.qowevisa.me/Qowevisa/gonuts/db" - "git.qowevisa.me/Qowevisa/gonuts/types" + "git.qowevisa.me/Qowevisa/fin-check-api/db" + "git.qowevisa.me/Qowevisa/fin-check-api/types" "github.com/gin-gonic/gin" ) diff --git a/handlers/user.go b/handlers/user.go index 56803a7..70e8c81 100644 --- a/handlers/user.go +++ b/handlers/user.go @@ -3,9 +3,9 @@ package handlers import ( "log" - "git.qowevisa.me/Qowevisa/gonuts/db" - "git.qowevisa.me/Qowevisa/gonuts/tokens" - "git.qowevisa.me/Qowevisa/gonuts/types" + "git.qowevisa.me/Qowevisa/fin-check-api/db" + "git.qowevisa.me/Qowevisa/fin-check-api/tokens" + "git.qowevisa.me/Qowevisa/fin-check-api/types" "github.com/gin-gonic/gin" ) diff --git a/handlers/user_scope_CRUD.go b/handlers/user_scope_CRUD.go index 174f10a..a7b7801 100644 --- a/handlers/user_scope_CRUD.go +++ b/handlers/user_scope_CRUD.go @@ -3,8 +3,8 @@ package handlers import ( "fmt" - "git.qowevisa.me/Qowevisa/gonuts/db" - "git.qowevisa.me/Qowevisa/gonuts/types" + "git.qowevisa.me/Qowevisa/fin-check-api/db" + "git.qowevisa.me/Qowevisa/fin-check-api/types" "github.com/gin-gonic/gin" ) diff --git a/middleware/auth.go b/middleware/auth.go index 3c502ad..43cc2c2 100644 --- a/middleware/auth.go +++ b/middleware/auth.go @@ -3,8 +3,8 @@ package middleware import ( "strings" - "git.qowevisa.me/Qowevisa/gonuts/tokens" - "git.qowevisa.me/Qowevisa/gonuts/types" + "git.qowevisa.me/Qowevisa/fin-check-api/tokens" + "git.qowevisa.me/Qowevisa/fin-check-api/types" "github.com/gin-gonic/gin" )