From 32f3bd8e50c2750b35ecff21d69dd971881aaf57 Mon Sep 17 00:00:00 2001 From: jc <46619361+juancwu@users.noreply.github.com> Date: Wed, 27 Nov 2024 13:36:35 -0500 Subject: [PATCH] rename go module name --- backend/go.mod | 2 +- backend/internal/jwt/generate.go | 2 +- backend/internal/jwt/jwt_test.go | 2 +- backend/internal/jwt/types.go | 2 +- backend/internal/middleware/jwt.go | 2 +- backend/internal/middleware/jwt_test.go | 4 ++-- backend/internal/middleware/req_validator.go | 2 +- backend/internal/server/auth.go | 6 +++--- backend/internal/server/company.go | 4 ++-- backend/internal/server/company_documents.go | 4 ++-- backend/internal/server/company_financials.go | 4 ++-- backend/internal/server/company_questions_answers.go | 4 ++-- backend/internal/server/employee.go | 4 ++-- backend/internal/server/funding_transactions.go | 4 ++-- backend/internal/server/handler_helpers.go | 2 +- backend/internal/server/index.go | 4 ++-- backend/internal/server/meetings.go | 4 ++-- backend/internal/server/projects.go | 4 ++-- backend/internal/server/resource_request.go | 4 ++-- backend/internal/server/startup.go | 2 +- backend/internal/server/tag.go | 4 ++-- backend/internal/server/types.go | 2 +- backend/main.go | 4 ++-- 23 files changed, 38 insertions(+), 38 deletions(-) diff --git a/backend/go.mod b/backend/go.mod index 618cb69a..912fe720 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -1,4 +1,4 @@ -module github.com/KonferCA/NoKap +module KonferCA/SPUR go 1.23.2 diff --git a/backend/internal/jwt/generate.go b/backend/internal/jwt/generate.go index a620d5d1..f1dda2d9 100644 --- a/backend/internal/jwt/generate.go +++ b/backend/internal/jwt/generate.go @@ -4,7 +4,7 @@ import ( "os" "time" - "github.com/KonferCA/NoKap/db" + "KonferCA/SPUR/db" golangJWT "github.com/golang-jwt/jwt/v5" ) diff --git a/backend/internal/jwt/jwt_test.go b/backend/internal/jwt/jwt_test.go index d39207ed..64c45507 100644 --- a/backend/internal/jwt/jwt_test.go +++ b/backend/internal/jwt/jwt_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/KonferCA/NoKap/db" + "KonferCA/SPUR/db" golangJWT "github.com/golang-jwt/jwt/v5" "github.com/stretchr/testify/assert" ) diff --git a/backend/internal/jwt/types.go b/backend/internal/jwt/types.go index a7588250..2eec3eb6 100644 --- a/backend/internal/jwt/types.go +++ b/backend/internal/jwt/types.go @@ -1,7 +1,7 @@ package jwt import ( - "github.com/KonferCA/NoKap/db" + "KonferCA/SPUR/db" golangJWT "github.com/golang-jwt/jwt/v5" ) diff --git a/backend/internal/middleware/jwt.go b/backend/internal/middleware/jwt.go index 8e67b2df..2ea676ad 100644 --- a/backend/internal/middleware/jwt.go +++ b/backend/internal/middleware/jwt.go @@ -4,7 +4,7 @@ import ( "net/http" "strings" - "github.com/KonferCA/NoKap/internal/jwt" + "KonferCA/SPUR/internal/jwt" "github.com/labstack/echo/v4" "github.com/rs/zerolog/log" ) diff --git a/backend/internal/middleware/jwt_test.go b/backend/internal/middleware/jwt_test.go index 51437af2..1bf44bd0 100644 --- a/backend/internal/middleware/jwt_test.go +++ b/backend/internal/middleware/jwt_test.go @@ -7,8 +7,8 @@ import ( "os" "testing" - "github.com/KonferCA/NoKap/db" - "github.com/KonferCA/NoKap/internal/jwt" + "KonferCA/SPUR/db" + "KonferCA/SPUR/internal/jwt" "github.com/labstack/echo/v4" "github.com/stretchr/testify/assert" ) diff --git a/backend/internal/middleware/req_validator.go b/backend/internal/middleware/req_validator.go index 9d51e614..d1444da4 100644 --- a/backend/internal/middleware/req_validator.go +++ b/backend/internal/middleware/req_validator.go @@ -5,7 +5,7 @@ import ( "net/http" "reflect" - "github.com/KonferCA/NoKap/db" + "KonferCA/SPUR/db" "github.com/go-playground/validator/v10" "github.com/labstack/echo/v4" "github.com/rs/zerolog/log" diff --git a/backend/internal/server/auth.go b/backend/internal/server/auth.go index 4c82f53b..289cc02c 100644 --- a/backend/internal/server/auth.go +++ b/backend/internal/server/auth.go @@ -5,9 +5,9 @@ import ( "net/http" "reflect" - "github.com/KonferCA/NoKap/db" - "github.com/KonferCA/NoKap/internal/jwt" - mw "github.com/KonferCA/NoKap/internal/middleware" + "KonferCA/SPUR/db" + "KonferCA/SPUR/internal/jwt" + mw "KonferCA/SPUR/internal/middleware" "github.com/jackc/pgx/v5/pgtype" "github.com/labstack/echo/v4" "golang.org/x/crypto/bcrypt" diff --git a/backend/internal/server/company.go b/backend/internal/server/company.go index 83ec8815..38fdbb94 100644 --- a/backend/internal/server/company.go +++ b/backend/internal/server/company.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "github.com/KonferCA/NoKap/db" - mw "github.com/KonferCA/NoKap/internal/middleware" + "KonferCA/SPUR/db" + mw "KonferCA/SPUR/internal/middleware" "github.com/labstack/echo/v4" ) diff --git a/backend/internal/server/company_documents.go b/backend/internal/server/company_documents.go index 88960ffe..9f2c1185 100644 --- a/backend/internal/server/company_documents.go +++ b/backend/internal/server/company_documents.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "github.com/KonferCA/NoKap/db" - mw "github.com/KonferCA/NoKap/internal/middleware" + "KonferCA/SPUR/db" + mw "KonferCA/SPUR/internal/middleware" "github.com/labstack/echo/v4" ) diff --git a/backend/internal/server/company_financials.go b/backend/internal/server/company_financials.go index b8788d5e..b14bce37 100644 --- a/backend/internal/server/company_financials.go +++ b/backend/internal/server/company_financials.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "github.com/KonferCA/NoKap/db" - mw "github.com/KonferCA/NoKap/internal/middleware" + "KonferCA/SPUR/db" + mw "KonferCA/SPUR/internal/middleware" "github.com/labstack/echo/v4" ) diff --git a/backend/internal/server/company_questions_answers.go b/backend/internal/server/company_questions_answers.go index 2dfc6c19..6211d9b9 100644 --- a/backend/internal/server/company_questions_answers.go +++ b/backend/internal/server/company_questions_answers.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "github.com/KonferCA/NoKap/db" - mw "github.com/KonferCA/NoKap/internal/middleware" + "KonferCA/SPUR/db" + mw "KonferCA/SPUR/internal/middleware" "github.com/labstack/echo/v4" ) diff --git a/backend/internal/server/employee.go b/backend/internal/server/employee.go index a9a0bc96..ce9332a4 100644 --- a/backend/internal/server/employee.go +++ b/backend/internal/server/employee.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "github.com/KonferCA/NoKap/db" - mw "github.com/KonferCA/NoKap/internal/middleware" + "KonferCA/SPUR/db" + mw "KonferCA/SPUR/internal/middleware" "github.com/labstack/echo/v4" ) diff --git a/backend/internal/server/funding_transactions.go b/backend/internal/server/funding_transactions.go index a61a06aa..80e07df9 100644 --- a/backend/internal/server/funding_transactions.go +++ b/backend/internal/server/funding_transactions.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - "github.com/KonferCA/NoKap/db" - mw "github.com/KonferCA/NoKap/internal/middleware" + "KonferCA/SPUR/db" + mw "KonferCA/SPUR/internal/middleware" "github.com/labstack/echo/v4" ) diff --git a/backend/internal/server/handler_helpers.go b/backend/internal/server/handler_helpers.go index 6f83495d..3aa53fb1 100644 --- a/backend/internal/server/handler_helpers.go +++ b/backend/internal/server/handler_helpers.go @@ -5,7 +5,7 @@ import ( "net/http" "time" - "github.com/KonferCA/NoKap/db" + "KonferCA/SPUR/db" "github.com/google/uuid" "github.com/jackc/pgx/v5/pgtype" "github.com/labstack/echo/v4" diff --git a/backend/internal/server/index.go b/backend/internal/server/index.go index 5cc8ae2e..498b7164 100644 --- a/backend/internal/server/index.go +++ b/backend/internal/server/index.go @@ -10,8 +10,8 @@ import ( "github.com/labstack/echo/v4" echoMiddleware "github.com/labstack/echo/v4/middleware" - "github.com/KonferCA/NoKap/db" - "github.com/KonferCA/NoKap/internal/middleware" + "KonferCA/SPUR/db" + "KonferCA/SPUR/internal/middleware" ) type Server struct { diff --git a/backend/internal/server/meetings.go b/backend/internal/server/meetings.go index c6ab04bd..e97fbd19 100644 --- a/backend/internal/server/meetings.go +++ b/backend/internal/server/meetings.go @@ -5,8 +5,8 @@ import ( "net/http" "time" - "github.com/KonferCA/NoKap/db" - mw "github.com/KonferCA/NoKap/internal/middleware" + "KonferCA/SPUR/db" + mw "KonferCA/SPUR/internal/middleware" "github.com/labstack/echo/v4" ) diff --git a/backend/internal/server/projects.go b/backend/internal/server/projects.go index 5eb49f55..0c431d83 100644 --- a/backend/internal/server/projects.go +++ b/backend/internal/server/projects.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - "github.com/KonferCA/NoKap/db" - mw "github.com/KonferCA/NoKap/internal/middleware" + "KonferCA/SPUR/db" + mw "KonferCA/SPUR/internal/middleware" "github.com/labstack/echo/v4" ) diff --git a/backend/internal/server/resource_request.go b/backend/internal/server/resource_request.go index e129997a..e224e27a 100644 --- a/backend/internal/server/resource_request.go +++ b/backend/internal/server/resource_request.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "github.com/KonferCA/NoKap/db" - mw "github.com/KonferCA/NoKap/internal/middleware" + "KonferCA/SPUR/db" + mw "KonferCA/SPUR/internal/middleware" "github.com/labstack/echo/v4" ) diff --git a/backend/internal/server/startup.go b/backend/internal/server/startup.go index 3b3f4ffb..968eb940 100644 --- a/backend/internal/server/startup.go +++ b/backend/internal/server/startup.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "github.com/KonferCA/NoKap/db" + "KonferCA/SPUR/db" "github.com/google/uuid" "github.com/labstack/echo/v4" ) diff --git a/backend/internal/server/tag.go b/backend/internal/server/tag.go index 475a9ecb..54680134 100644 --- a/backend/internal/server/tag.go +++ b/backend/internal/server/tag.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "github.com/KonferCA/NoKap/db" - mw "github.com/KonferCA/NoKap/internal/middleware" + "KonferCA/SPUR/db" + mw "KonferCA/SPUR/internal/middleware" "github.com/labstack/echo/v4" ) diff --git a/backend/internal/server/types.go b/backend/internal/server/types.go index 6afbe7fc..c2fd26e5 100644 --- a/backend/internal/server/types.go +++ b/backend/internal/server/types.go @@ -3,7 +3,7 @@ package server import ( "time" - "github.com/KonferCA/NoKap/db" + "KonferCA/SPUR/db" ) // TODO: Reorder types diff --git a/backend/main.go b/backend/main.go index d58be260..9db4f4f8 100644 --- a/backend/main.go +++ b/backend/main.go @@ -7,8 +7,8 @@ import ( "github.com/rs/zerolog" "github.com/rs/zerolog/log" - "github.com/KonferCA/NoKap/common" - "github.com/KonferCA/NoKap/internal/server" + "KonferCA/SPUR/common" + "KonferCA/SPUR/internal/server" "github.com/joho/godotenv" )