refactor: change module path from github.com to git.boos.lat

- go.mod: module git.boos.lat/boos/boosapi
- Update all import paths in Go source
- Update plan document module reference

Signed-off-by: Boos4721 <boos4721@icloud.com>
This commit is contained in:
boos
2026-05-16 01:24:36 +08:00
parent ec411582aa
commit 7127c6ae95
3 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -13,10 +13,10 @@ import (
"github.com/go-chi/chi/v5"
chimw "github.com/go-chi/chi/v5/middleware"
"github.com/cita-777/boosapi/internal/config"
"github.com/cita-777/boosapi/internal/db"
"github.com/cita-777/boosapi/internal/server/handler"
"github.com/cita-777/boosapi/internal/server/middleware"
"git.boos.lat/boos/boosapi/internal/config"
"git.boos.lat/boos/boosapi/internal/db"
"git.boos.lat/boos/boosapi/internal/server/handler"
"git.boos.lat/boos/boosapi/internal/server/middleware"
)
var version = "dev"
+1 -1
View File
@@ -1,4 +1,4 @@
module github.com/cita-777/boosapi
module git.boos.lat/boos/boosapi
go 1.26.3
+2 -2
View File
@@ -8,7 +8,7 @@ This document is the shared project spec for the Go backend rewrite. All team me
- **Bot:** aibo (CI/CD + automated development, used via `git push` / merge requests)
- **Repository:** `https://git.boos.lat/boos/BoosAPI.git` (Gitea self-hosted)
- **Branch:** `refactor/go-backend`
- **Module:** `github.com/cita-777/boosapi`
- **Module:** `git.boos.lat/boos/boosapi`
- **Go version:** 1.26+
- **Language:** All code, comments, commit messages, and documentation in **English**
@@ -98,7 +98,7 @@ go test ./... # final test run
- **Branch:** `refactor/go-backend`
- **Remote:** `gitea` (`https://git.boos.lat/boos/BoosAPI.git`)
- **Go version:** 1.26+
- **Module:** `github.com/cita-777/boosapi`
- **Module:** `git.boos.lat/boos/boosapi`
## Golden Rules