From a429cc4454b88bb0a0d967f9e729a43095e08e99 Mon Sep 17 00:00:00 2001 From: Ritesh Koushik Date: Tue, 20 Jan 2026 13:19:16 +0530 Subject: [PATCH 1/2] feat: New beginnings --- Taskfile.yml | 100 +++++++++++++++++++++++ anokha-backend.service | 17 ---- api/accomodation/auth.controllers.go | 8 +- api/accomodation/bed.controllers.go | 6 +- api/accomodation/finance.controllers.go | 6 +- api/accomodation/form.controllers.go | 8 +- api/accomodation/gate.controllers.go | 8 +- api/accomodation/hostel.controllers.go | 6 +- api/accomodation/logs.controllers.go | 6 +- api/accomodation/panel.controllers.go | 8 +- api/accomodation/routes.go | 2 +- api/accomodation/security.controllers.go | 6 +- api/analytics/controllers.go | 6 +- api/analytics/hospitality.controller.go | 6 +- api/analytics/quick.controller.go | 6 +- api/analytics/routes.go | 2 +- api/attendance/controllers.go | 6 +- api/attendance/routes.go | 2 +- api/auth/admin.login.controllers.go | 8 +- api/auth/forgot.controllers.go | 10 +-- api/auth/login.controllers.go | 8 +- api/auth/logout.controllers.go | 2 +- api/auth/register.controllers.go | 10 +-- api/auth/routes.go | 2 +- api/auth/session.controllers.go | 6 +- api/booking/register.controllers.go | 10 +-- api/booking/routes.go | 2 +- api/booking/txn-view.controllers.go | 8 +- api/booking/verify.controllers.go | 12 +-- api/dispute/controllers.go | 8 +- api/event/admin.controllers.go | 8 +- api/event/routes.go | 2 +- api/event/star.controllers.go | 6 +- api/event/view-auth.controllers.go | 6 +- api/event/view-noauth.controllers.go | 6 +- api/organizers/controllers.go | 8 +- api/organizers/org_dashboard.go | 6 +- api/organizers/routes.go | 2 +- api/people/controllers.go | 8 +- api/people/routes.go | 2 +- api/profile/controllers.go | 8 +- api/profile/routes.go | 2 +- api/tag/controllers.go | 8 +- api/tag/routes.go | 2 +- go.mod | 2 +- mail/service.go | 2 +- mail/smtp.go | 4 +- main.go | 34 ++++---- message-queue/broker.go | 2 +- message-queue/hack_payload.go | 2 +- middleware/auth.go | 2 +- middleware/csrf.go | 2 +- middleware/rbac.go | 2 +- middleware/recover.go | 2 +- middleware/temp_auth.go | 2 +- models/transaction.go | 2 +- pkg/cookies.go | 4 +- pkg/flag.go | 2 +- pkg/hash.go | 2 +- pkg/token.go | 4 +- scripts/mail_test/main.go | 6 +- seed/main.go | 4 +- seed/seed.go | 4 +- seed/truncate.go | 4 +- 64 files changed, 270 insertions(+), 187 deletions(-) create mode 100644 Taskfile.yml delete mode 100644 anokha-backend.service diff --git a/Taskfile.yml b/Taskfile.yml new file mode 100644 index 00000000..eece660b --- /dev/null +++ b/Taskfile.yml @@ -0,0 +1,100 @@ +version: '3' + +vars: + ENVIRONMENT: "DEVELOPMENT2" + DB_URL: "postgresql://postgres:1234@localhost:5432/postgres" + GO_BIN: + sh: go env GOPATH + GOOSE_DRIVER: postgres + GOOSE_DBSTRING: "{{.DB_URL}}" + GOOSE_MIGRATION_DIR: ./db/migrations/ + BIN_NAME: + sh: | + if [ "{{.OS}}" = "Windows_NT" ]; then + echo "bin/Am.EventKit.exe" + else + echo "bin/Am.EventKit" + fi + +tasks: + setup: + desc: "Install CLI tools and setup development environment" + cmds: + - go install github.com/air-verse/air@latest + - go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest + - go install github.com/evilmartians/lefthook@latest + - go install github.com/pressly/goose/v3/cmd/goose@latest + - lefthook install + - echo "All CLI tools installed successfully in {{.GO_BIN}}/bin" + + dev: + desc: "Run the development server with hot reload" + cmds: + - air + + build: + desc: "Build the application" + cmds: + - go mod tidy + - go fmt ./... + - go build -o {{.BIN_NAME}} main.go + + run: + desc: "Build and run the application" + deps: [build] + cmds: + - ./{{.BIN_NAME}} + + up: + desc: "Run all database migrations" + cmds: + - goose -dir {{.GOOSE_MIGRATION_DIR}} {{.GOOSE_DRIVER}} {{.GOOSE_DBSTRING}} up + + upone: + desc: "Run one database migration at a time" + cmds: + - goose -dir {{.GOOSE_MIGRATION_DIR}} {{.GOOSE_DRIVER}} {{.GOOSE_DBSTRING}} up-by-one + + seed: + desc: "Seed the database with test data (DEVELOPMENT environment only)" + deps: [build] + cmds: + - | + if [ "{{.ENVIRONMENT}}" = "DEVELOPMENT" ]; then + go run seed/seed.go seed/truncate.go seed/main.go -s + else + echo "Skipping seed: not in DEVELOPMENT environment." + fi + + down: + desc: "Reset all database migrations" + cmds: + - goose -dir {{.GOOSE_MIGRATION_DIR}} {{.GOOSE_DRIVER}} {{.GOOSE_DBSTRING}} reset + + downto: + desc: "Migrate down to a specific version" + vars: + VERSION: "{{.v | default \"0\"}}" + cmds: + - goose -dir {{.GOOSE_MIGRATION_DIR}} {{.GOOSE_DRIVER}} {{.GOOSE_DBSTRING}} down-to {{.VERSION}} + + status: + desc: "Show migration status" + cmds: + - goose -dir {{.GOOSE_MIGRATION_DIR}} {{.GOOSE_DRIVER}} {{.GOOSE_DBSTRING}} status + + clean: + desc: "Clean database data" + cmds: + - go run seed/seed.go seed/truncate.go seed/main.go -c + + docker: + desc: "Start server with Docker" + cmds: + - docker compose up -d + + pod: + desc: "Restart services with Podman" + cmds: + - podman compose down + - podman compose up -d diff --git a/anokha-backend.service b/anokha-backend.service deleted file mode 100644 index 01880d2b..00000000 --- a/anokha-backend.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=Anokha 2025 Go Backend -After=network.target postgresql.service - -[Service] -Type=simple -User=anokha -WorkingDirectory=/home/anokha/anokha-2025/anokha-2025-backend - -Environment=PATH=/usr/local/go/bin:/usr/bin:/bin - -ExecStart=/usr/bin/make run -Restart=on-failure -RestartSec=5 - -[Install] -WantedBy=multi-user.target diff --git a/api/accomodation/auth.controllers.go b/api/accomodation/auth.controllers.go index 35c75f78..52b82a95 100644 --- a/api/accomodation/auth.controllers.go +++ b/api/accomodation/auth.controllers.go @@ -5,10 +5,10 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/models" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/models" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5" "github.com/jackc/pgx/v5/pgtype" diff --git a/api/accomodation/bed.controllers.go b/api/accomodation/bed.controllers.go index 15ad0202..7d87a41b 100644 --- a/api/accomodation/bed.controllers.go +++ b/api/accomodation/bed.controllers.go @@ -5,9 +5,9 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/api/accomodation/finance.controllers.go b/api/accomodation/finance.controllers.go index 2b11a257..533e2806 100644 --- a/api/accomodation/finance.controllers.go +++ b/api/accomodation/finance.controllers.go @@ -5,9 +5,9 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/api/accomodation/form.controllers.go b/api/accomodation/form.controllers.go index 0990a258..e98c79d8 100644 --- a/api/accomodation/form.controllers.go +++ b/api/accomodation/form.controllers.go @@ -5,10 +5,10 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/models" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/models" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5/pgtype" ) diff --git a/api/accomodation/gate.controllers.go b/api/accomodation/gate.controllers.go index e561a487..e5a66571 100644 --- a/api/accomodation/gate.controllers.go +++ b/api/accomodation/gate.controllers.go @@ -6,10 +6,10 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/models" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/models" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/google/uuid" "github.com/jackc/pgx/v5" diff --git a/api/accomodation/hostel.controllers.go b/api/accomodation/hostel.controllers.go index 9251d257..41819220 100644 --- a/api/accomodation/hostel.controllers.go +++ b/api/accomodation/hostel.controllers.go @@ -5,9 +5,9 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5/pgtype" ) diff --git a/api/accomodation/logs.controllers.go b/api/accomodation/logs.controllers.go index c283dc9d..45a93fc3 100644 --- a/api/accomodation/logs.controllers.go +++ b/api/accomodation/logs.controllers.go @@ -5,9 +5,9 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/api/accomodation/panel.controllers.go b/api/accomodation/panel.controllers.go index 08bb01cf..dc92d569 100644 --- a/api/accomodation/panel.controllers.go +++ b/api/accomodation/panel.controllers.go @@ -5,10 +5,10 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/models" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/models" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5" ) diff --git a/api/accomodation/routes.go b/api/accomodation/routes.go index a5b0d7ad..37c024a4 100644 --- a/api/accomodation/routes.go +++ b/api/accomodation/routes.go @@ -1,7 +1,7 @@ package api import ( - mw "github.com/Thanus-Kumaar/anokha-2025-backend/middleware" + mw "github.com/Infinite-Sum-Games/Am.EventKit/middleware" "github.com/gin-gonic/gin" ) diff --git a/api/accomodation/security.controllers.go b/api/accomodation/security.controllers.go index 17db2754..2a6b5532 100644 --- a/api/accomodation/security.controllers.go +++ b/api/accomodation/security.controllers.go @@ -5,9 +5,9 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5" ) diff --git a/api/analytics/controllers.go b/api/analytics/controllers.go index d55289aa..4a9ce6db 100644 --- a/api/analytics/controllers.go +++ b/api/analytics/controllers.go @@ -5,9 +5,9 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/api/analytics/hospitality.controller.go b/api/analytics/hospitality.controller.go index 3619fcdc..bd97b9fa 100644 --- a/api/analytics/hospitality.controller.go +++ b/api/analytics/hospitality.controller.go @@ -5,9 +5,9 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/api/analytics/quick.controller.go b/api/analytics/quick.controller.go index 0ee8167a..62badd2c 100644 --- a/api/analytics/quick.controller.go +++ b/api/analytics/quick.controller.go @@ -5,9 +5,9 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/api/analytics/routes.go b/api/analytics/routes.go index 04c5e6ce..d350bf9e 100644 --- a/api/analytics/routes.go +++ b/api/analytics/routes.go @@ -1,7 +1,7 @@ package api import ( - mw "github.com/Thanus-Kumaar/anokha-2025-backend/middleware" + mw "github.com/Infinite-Sum-Games/Am.EventKit/middleware" "github.com/gin-gonic/gin" ) diff --git a/api/attendance/controllers.go b/api/attendance/controllers.go index 29124f98..15208132 100644 --- a/api/attendance/controllers.go +++ b/api/attendance/controllers.go @@ -5,9 +5,9 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/api/attendance/routes.go b/api/attendance/routes.go index 247844ff..10a420d9 100644 --- a/api/attendance/routes.go +++ b/api/attendance/routes.go @@ -1,7 +1,7 @@ package api import ( - mw "github.com/Thanus-Kumaar/anokha-2025-backend/middleware" + mw "github.com/Infinite-Sum-Games/Am.EventKit/middleware" "github.com/gin-gonic/gin" ) diff --git a/api/auth/admin.login.controllers.go b/api/auth/admin.login.controllers.go index f284519c..c8af3454 100644 --- a/api/auth/admin.login.controllers.go +++ b/api/auth/admin.login.controllers.go @@ -5,10 +5,10 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/models" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/models" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5" "github.com/jackc/pgx/v5/pgtype" diff --git a/api/auth/forgot.controllers.go b/api/auth/forgot.controllers.go index dfd71d03..60766791 100644 --- a/api/auth/forgot.controllers.go +++ b/api/auth/forgot.controllers.go @@ -7,11 +7,11 @@ import ( "strings" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/mail" - "github.com/Thanus-Kumaar/anokha-2025-backend/models" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/mail" + "github.com/Infinite-Sum-Games/Am.EventKit/models" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5" "github.com/jackc/pgx/v5/pgtype" diff --git a/api/auth/login.controllers.go b/api/auth/login.controllers.go index bb3462b0..fdc64c8a 100644 --- a/api/auth/login.controllers.go +++ b/api/auth/login.controllers.go @@ -5,10 +5,10 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/models" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/models" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5" "github.com/jackc/pgx/v5/pgtype" diff --git a/api/auth/logout.controllers.go b/api/auth/logout.controllers.go index a092e04e..98bb2ec6 100644 --- a/api/auth/logout.controllers.go +++ b/api/auth/logout.controllers.go @@ -3,7 +3,7 @@ package api import ( "net/http" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/api/auth/register.controllers.go b/api/auth/register.controllers.go index d0cd1f41..37c77f3a 100644 --- a/api/auth/register.controllers.go +++ b/api/auth/register.controllers.go @@ -7,11 +7,11 @@ import ( "strings" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/mail" - "github.com/Thanus-Kumaar/anokha-2025-backend/models" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/mail" + "github.com/Infinite-Sum-Games/Am.EventKit/models" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5" "github.com/jackc/pgx/v5/pgtype" diff --git a/api/auth/routes.go b/api/auth/routes.go index c32bdda3..be73c740 100644 --- a/api/auth/routes.go +++ b/api/auth/routes.go @@ -1,7 +1,7 @@ package api import ( - mw "github.com/Thanus-Kumaar/anokha-2025-backend/middleware" + mw "github.com/Infinite-Sum-Games/Am.EventKit/middleware" "github.com/gin-gonic/gin" ) diff --git a/api/auth/session.controllers.go b/api/auth/session.controllers.go index 610a8b37..a9b520f8 100644 --- a/api/auth/session.controllers.go +++ b/api/auth/session.controllers.go @@ -5,9 +5,9 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5" ) diff --git a/api/booking/register.controllers.go b/api/booking/register.controllers.go index 1b1218a2..1b5df611 100644 --- a/api/booking/register.controllers.go +++ b/api/booking/register.controllers.go @@ -7,11 +7,11 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - messagequeue "github.com/Thanus-Kumaar/anokha-2025-backend/message-queue" - "github.com/Thanus-Kumaar/anokha-2025-backend/models" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + messagequeue "github.com/Infinite-Sum-Games/Am.EventKit/message-queue" + "github.com/Infinite-Sum-Games/Am.EventKit/models" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/google/uuid" "github.com/jackc/pgx/v5" diff --git a/api/booking/routes.go b/api/booking/routes.go index 7c358594..18e17348 100644 --- a/api/booking/routes.go +++ b/api/booking/routes.go @@ -1,7 +1,7 @@ package api import ( - mw "github.com/Thanus-Kumaar/anokha-2025-backend/middleware" + mw "github.com/Infinite-Sum-Games/Am.EventKit/middleware" "github.com/gin-gonic/gin" ) diff --git a/api/booking/txn-view.controllers.go b/api/booking/txn-view.controllers.go index 035f52ce..aa2f76c4 100644 --- a/api/booking/txn-view.controllers.go +++ b/api/booking/txn-view.controllers.go @@ -5,10 +5,10 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/models" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/models" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/api/booking/verify.controllers.go b/api/booking/verify.controllers.go index c32399cb..863f4d32 100644 --- a/api/booking/verify.controllers.go +++ b/api/booking/verify.controllers.go @@ -8,12 +8,12 @@ import ( "strings" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/mail" - messagequeue "github.com/Thanus-Kumaar/anokha-2025-backend/message-queue" - "github.com/Thanus-Kumaar/anokha-2025-backend/models" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/mail" + messagequeue "github.com/Infinite-Sum-Games/Am.EventKit/message-queue" + "github.com/Infinite-Sum-Games/Am.EventKit/models" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5" ) diff --git a/api/dispute/controllers.go b/api/dispute/controllers.go index 43073f25..5ec7cec9 100644 --- a/api/dispute/controllers.go +++ b/api/dispute/controllers.go @@ -5,10 +5,10 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/models" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/models" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/api/event/admin.controllers.go b/api/event/admin.controllers.go index 06cc9d9e..8c826c3c 100644 --- a/api/event/admin.controllers.go +++ b/api/event/admin.controllers.go @@ -6,10 +6,10 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/models" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/models" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5" "github.com/jackc/pgx/v5/pgtype" diff --git a/api/event/routes.go b/api/event/routes.go index 5a689295..023ebace 100644 --- a/api/event/routes.go +++ b/api/event/routes.go @@ -1,7 +1,7 @@ package api import ( - mw "github.com/Thanus-Kumaar/anokha-2025-backend/middleware" + mw "github.com/Infinite-Sum-Games/Am.EventKit/middleware" "github.com/gin-gonic/gin" ) diff --git a/api/event/star.controllers.go b/api/event/star.controllers.go index 77e0e3bc..7756e858 100644 --- a/api/event/star.controllers.go +++ b/api/event/star.controllers.go @@ -5,9 +5,9 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5" ) diff --git a/api/event/view-auth.controllers.go b/api/event/view-auth.controllers.go index 0ae6d8da..f12a38a1 100644 --- a/api/event/view-auth.controllers.go +++ b/api/event/view-auth.controllers.go @@ -5,9 +5,9 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5" ) diff --git a/api/event/view-noauth.controllers.go b/api/event/view-noauth.controllers.go index ea6dbdd9..ec9f3a19 100644 --- a/api/event/view-noauth.controllers.go +++ b/api/event/view-noauth.controllers.go @@ -7,9 +7,9 @@ import ( "github.com/jackc/pgx/v5" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/api/organizers/controllers.go b/api/organizers/controllers.go index 0123d0f5..f1e280d4 100644 --- a/api/organizers/controllers.go +++ b/api/organizers/controllers.go @@ -5,10 +5,10 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/models" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/models" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5" ) diff --git a/api/organizers/org_dashboard.go b/api/organizers/org_dashboard.go index ddf889d6..b14ce5e3 100644 --- a/api/organizers/org_dashboard.go +++ b/api/organizers/org_dashboard.go @@ -5,9 +5,9 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/api/organizers/routes.go b/api/organizers/routes.go index 1146b075..0881070d 100644 --- a/api/organizers/routes.go +++ b/api/organizers/routes.go @@ -1,7 +1,7 @@ package api import ( - mw "github.com/Thanus-Kumaar/anokha-2025-backend/middleware" + mw "github.com/Infinite-Sum-Games/Am.EventKit/middleware" "github.com/gin-gonic/gin" ) diff --git a/api/people/controllers.go b/api/people/controllers.go index a4308b85..0e89a417 100644 --- a/api/people/controllers.go +++ b/api/people/controllers.go @@ -5,10 +5,10 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/models" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/models" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5" ) diff --git a/api/people/routes.go b/api/people/routes.go index 445c694b..e506f52e 100644 --- a/api/people/routes.go +++ b/api/people/routes.go @@ -1,7 +1,7 @@ package api import ( - mw "github.com/Thanus-Kumaar/anokha-2025-backend/middleware" + mw "github.com/Infinite-Sum-Games/Am.EventKit/middleware" "github.com/gin-gonic/gin" ) diff --git a/api/profile/controllers.go b/api/profile/controllers.go index 01e2fe90..cbf8b15e 100644 --- a/api/profile/controllers.go +++ b/api/profile/controllers.go @@ -6,10 +6,10 @@ import ( "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/models" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/models" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5" ) diff --git a/api/profile/routes.go b/api/profile/routes.go index d10140ff..e580eaf7 100644 --- a/api/profile/routes.go +++ b/api/profile/routes.go @@ -1,7 +1,7 @@ package api import ( - mw "github.com/Thanus-Kumaar/anokha-2025-backend/middleware" + mw "github.com/Infinite-Sum-Games/Am.EventKit/middleware" "github.com/gin-gonic/gin" ) diff --git a/api/tag/controllers.go b/api/tag/controllers.go index be871b30..07a2b089 100644 --- a/api/tag/controllers.go +++ b/api/tag/controllers.go @@ -5,10 +5,10 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/models" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/models" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/api/tag/routes.go b/api/tag/routes.go index 2545ab1f..56e3e472 100644 --- a/api/tag/routes.go +++ b/api/tag/routes.go @@ -1,7 +1,7 @@ package tag import ( - mw "github.com/Thanus-Kumaar/anokha-2025-backend/middleware" + mw "github.com/Infinite-Sum-Games/Am.EventKit/middleware" "github.com/gin-gonic/gin" ) diff --git a/go.mod b/go.mod index 8e52f90a..ba209897 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Thanus-Kumaar/anokha-2025-backend +module github.com/Infinite-Sum-Games/Am.EventKit go 1.24.1 diff --git a/mail/service.go b/mail/service.go index 2fd5c650..1b70764c 100644 --- a/mail/service.go +++ b/mail/service.go @@ -7,7 +7,7 @@ import ( "os" "sync" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/joncrlsn/dque" ) diff --git a/mail/smtp.go b/mail/smtp.go index 5a21bf72..7ec3dcb2 100644 --- a/mail/smtp.go +++ b/mail/smtp.go @@ -5,8 +5,8 @@ import ( "fmt" "strings" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" gomail "gopkg.in/gomail.v2" ) diff --git a/main.go b/main.go index 2e09f66e..8804bc32 100644 --- a/main.go +++ b/main.go @@ -10,23 +10,23 @@ import ( "syscall" "time" - apiAccomodation "github.com/Thanus-Kumaar/anokha-2025-backend/api/accomodation" - apiAnalytics "github.com/Thanus-Kumaar/anokha-2025-backend/api/analytics" - apiAttend "github.com/Thanus-Kumaar/anokha-2025-backend/api/attendance" - apiAuth "github.com/Thanus-Kumaar/anokha-2025-backend/api/auth" - apiBooking "github.com/Thanus-Kumaar/anokha-2025-backend/api/booking" - apiDispute "github.com/Thanus-Kumaar/anokha-2025-backend/api/dispute" - apiEvent "github.com/Thanus-Kumaar/anokha-2025-backend/api/event" - apiOrganizers "github.com/Thanus-Kumaar/anokha-2025-backend/api/organizers" - apiPeople "github.com/Thanus-Kumaar/anokha-2025-backend/api/people" - apiProfile "github.com/Thanus-Kumaar/anokha-2025-backend/api/profile" - apiTag "github.com/Thanus-Kumaar/anokha-2025-backend/api/tag" - mq "github.com/Thanus-Kumaar/anokha-2025-backend/message-queue" - - cmd "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - mail "github.com/Thanus-Kumaar/anokha-2025-backend/mail" - mw "github.com/Thanus-Kumaar/anokha-2025-backend/middleware" - pkg "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + apiAccomodation "github.com/Infinite-Sum-Games/Am.EventKit/api/accomodation" + apiAnalytics "github.com/Infinite-Sum-Games/Am.EventKit/api/analytics" + apiAttend "github.com/Infinite-Sum-Games/Am.EventKit/api/attendance" + apiAuth "github.com/Infinite-Sum-Games/Am.EventKit/api/auth" + apiBooking "github.com/Infinite-Sum-Games/Am.EventKit/api/booking" + apiDispute "github.com/Infinite-Sum-Games/Am.EventKit/api/dispute" + apiEvent "github.com/Infinite-Sum-Games/Am.EventKit/api/event" + apiOrganizers "github.com/Infinite-Sum-Games/Am.EventKit/api/organizers" + apiPeople "github.com/Infinite-Sum-Games/Am.EventKit/api/people" + apiProfile "github.com/Infinite-Sum-Games/Am.EventKit/api/profile" + apiTag "github.com/Infinite-Sum-Games/Am.EventKit/api/tag" + mq "github.com/Infinite-Sum-Games/Am.EventKit/message-queue" + + cmd "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + mail "github.com/Infinite-Sum-Games/Am.EventKit/mail" + mw "github.com/Infinite-Sum-Games/Am.EventKit/middleware" + pkg "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-contrib/cors" "github.com/gin-gonic/gin" diff --git a/message-queue/broker.go b/message-queue/broker.go index 4ed5c5b3..cafaa686 100644 --- a/message-queue/broker.go +++ b/message-queue/broker.go @@ -5,7 +5,7 @@ import ( "fmt" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" amqp "github.com/rabbitmq/amqp091-go" ) diff --git a/message-queue/hack_payload.go b/message-queue/hack_payload.go index 32016a6b..faf213cb 100644 --- a/message-queue/hack_payload.go +++ b/message-queue/hack_payload.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" ) // Payload builder for Hackathon events. diff --git a/middleware/auth.go b/middleware/auth.go index c6b9d092..6f569c01 100644 --- a/middleware/auth.go +++ b/middleware/auth.go @@ -3,7 +3,7 @@ package mw import ( "net/http" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/middleware/csrf.go b/middleware/csrf.go index 5a04aff4..da330ce5 100644 --- a/middleware/csrf.go +++ b/middleware/csrf.go @@ -4,7 +4,7 @@ import ( "fmt" "net/http" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/middleware/rbac.go b/middleware/rbac.go index 286f6528..78b59bb1 100644 --- a/middleware/rbac.go +++ b/middleware/rbac.go @@ -5,7 +5,7 @@ import ( "regexp" "strings" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/middleware/recover.go b/middleware/recover.go index d84d0da0..a450b3fd 100644 --- a/middleware/recover.go +++ b/middleware/recover.go @@ -4,7 +4,7 @@ import ( "net/http" "runtime/debug" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/middleware/temp_auth.go b/middleware/temp_auth.go index 197b1154..9208cb8a 100644 --- a/middleware/temp_auth.go +++ b/middleware/temp_auth.go @@ -3,7 +3,7 @@ package mw import ( "net/http" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/gin-gonic/gin" ) diff --git a/models/transaction.go b/models/transaction.go index afb68c49..5b83ecd6 100644 --- a/models/transaction.go +++ b/models/transaction.go @@ -1,7 +1,7 @@ package models import ( - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" v "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/cookies.go b/pkg/cookies.go index 3a6510dd..408e279c 100644 --- a/pkg/cookies.go +++ b/pkg/cookies.go @@ -5,8 +5,8 @@ import ( "net/http" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" "github.com/gin-gonic/gin" "github.com/spf13/viper" ) diff --git a/pkg/flag.go b/pkg/flag.go index 981535ee..34da3e67 100644 --- a/pkg/flag.go +++ b/pkg/flag.go @@ -1,7 +1,7 @@ package pkg import ( - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" "github.com/fsnotify/fsnotify" "github.com/spf13/viper" ) diff --git a/pkg/hash.go b/pkg/hash.go index 5cfa7ab1..0e24fa6b 100644 --- a/pkg/hash.go +++ b/pkg/hash.go @@ -7,7 +7,7 @@ import ( "net/url" "strings" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" "golang.org/x/crypto/bcrypt" ) diff --git a/pkg/token.go b/pkg/token.go index 903b1f4b..3cbff1e9 100644 --- a/pkg/token.go +++ b/pkg/token.go @@ -8,8 +8,8 @@ import ( "time" paseto "aidanwoods.dev/go-paseto" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5/pgtype" ) diff --git a/scripts/mail_test/main.go b/scripts/mail_test/main.go index c3094102..1a3be7c7 100644 --- a/scripts/mail_test/main.go +++ b/scripts/mail_test/main.go @@ -7,9 +7,9 @@ import ( "path/filepath" "time" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - "github.com/Thanus-Kumaar/anokha-2025-backend/mail" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + "github.com/Infinite-Sum-Games/Am.EventKit/mail" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" ) func main() { diff --git a/seed/main.go b/seed/main.go index 8330bf6b..c4b4b6d1 100644 --- a/seed/main.go +++ b/seed/main.go @@ -3,8 +3,8 @@ package main import ( "context" "flag" - "github.com/Thanus-Kumaar/anokha-2025-backend/cmd" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + "github.com/Infinite-Sum-Games/Am.EventKit/cmd" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/jackc/pgx/v5" "log" "os" diff --git a/seed/seed.go b/seed/seed.go index 495820d9..387fdb7d 100644 --- a/seed/seed.go +++ b/seed/seed.go @@ -7,8 +7,8 @@ import ( "strconv" "time" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - pkg "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + pkg "github.com/Infinite-Sum-Games/Am.EventKit/pkg" "github.com/brianvoe/gofakeit/v7" "github.com/jackc/pgx/v5" "github.com/jackc/pgx/v5/pgtype" diff --git a/seed/truncate.go b/seed/truncate.go index 42d3586e..32e3b534 100644 --- a/seed/truncate.go +++ b/seed/truncate.go @@ -2,8 +2,8 @@ package main import ( "context" - db "github.com/Thanus-Kumaar/anokha-2025-backend/db/gen" - "github.com/Thanus-Kumaar/anokha-2025-backend/pkg" + db "github.com/Infinite-Sum-Games/Am.EventKit/db/gen" + "github.com/Infinite-Sum-Games/Am.EventKit/pkg" ) func truncate() { From 6cf65828bc68257231a521b83d14b9366bc22450 Mon Sep 17 00:00:00 2001 From: Ritesh Koushik Date: Tue, 20 Jan 2026 13:22:50 +0530 Subject: [PATCH 2/2] chore: UPDATE codeowners --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e9ef7c71..7117ef20 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @Nandgopal-R @akshayks13 @SaranHiruthikM +* @IAmRiteshKoushik