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,6 +1,6 @@
package email
package email
import "carrot_bbs/internal/config"
import "with_you/internal/config"
// Config SMTP 邮件配置(由应用配置转换)
type Config struct {

View File

@@ -1,11 +1,11 @@
package hook
package hook
import (
"context"
"strings"
"time"
"carrot_bbs/internal/repository"
"with_you/internal/repository"
"go.uber.org/zap"
)

View File

@@ -1,10 +1,10 @@
package hook
package hook
import (
"strings"
"time"
"carrot_bbs/internal/repository"
"with_you/internal/repository"
"go.uber.org/zap"
)

View File

@@ -1,6 +1,6 @@
package openai
package openai
import "carrot_bbs/internal/config"
import "with_you/internal/config"
// Config OpenAI 兼容接口配置
type Config struct {

View File

@@ -1,4 +1,4 @@
package redis
package redis
import (
"context"
@@ -8,7 +8,7 @@ import (
"github.com/alicebob/miniredis/v2"
"github.com/redis/go-redis/v9"
"carrot_bbs/internal/config"
"with_you/internal/config"
)
// Client Redis客户端

View File

@@ -1,11 +1,11 @@
package response
package response
import (
"net/http"
"github.com/gin-gonic/gin"
apperrors "carrot_bbs/internal/errors"
apperrors "with_you/internal/errors"
)
// Response 统一响应结构

View File

@@ -1,4 +1,4 @@
package s3
package s3
import (
"bytes"
@@ -9,7 +9,7 @@ import (
"github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials"
"carrot_bbs/internal/config"
"with_you/internal/config"
)
// Client S3客户端