This is a breaking change that renames the entire project from "Carrot BBS" to "WithYou".
All checks were successful
Build Backend / build (push) Successful in 5m10s
Build Backend / build-docker (push) Successful in 2m22s

The Go module name has been changed from `carrot_bbs` to `with_you`, which requires
all import paths to be updated throughout the codebase and by external consumers.

BREAKING CHANGE: Module name changed from carrot_bbs to with_you. All imports
and dependencies must be updated from carrot_bbs/* to with_you/*.
This commit is contained in:
lafay
2026-04-22 16:01:59 +08:00
parent 38d628c696
commit 2f584c1f2c
149 changed files with 551 additions and 551 deletions

View File

@@ -1,4 +1,4 @@
package middleware
package middleware
import (
"bytes"
@@ -6,8 +6,8 @@ import (
"strings"
"time"
"carrot_bbs/internal/model"
"carrot_bbs/internal/pkg/sanitizer"
"with_you/internal/model"
"with_you/internal/pkg/sanitizer"
"github.com/gin-gonic/gin"
)

View File

@@ -1,12 +1,12 @@
package middleware
package middleware
import (
"strings"
"github.com/gin-gonic/gin"
"carrot_bbs/internal/pkg/response"
"carrot_bbs/internal/service"
"with_you/internal/pkg/response"
"with_you/internal/service"
)
// Auth 认证中间件

View File

@@ -1,10 +1,10 @@
package middleware
package middleware
import (
"slices"
"strings"
"carrot_bbs/internal/service"
"with_you/internal/service"
"github.com/gin-gonic/gin"
)

View File

@@ -1,11 +1,11 @@
package middleware
package middleware
import (
"net/http"
"carrot_bbs/internal/model"
"carrot_bbs/internal/pkg/response"
"carrot_bbs/internal/repository"
"with_you/internal/model"
"with_you/internal/pkg/response"
"with_you/internal/repository"
"github.com/gin-gonic/gin"
)