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 model
package model
import (
"strconv"
@@ -6,7 +6,7 @@ import (
"gorm.io/gorm"
"carrot_bbs/internal/pkg/utils"
"with_you/internal/pkg/utils"
)
// CallType 通话类型

View File

@@ -1,4 +1,4 @@
package model
package model
import (
"strconv"
@@ -6,7 +6,7 @@ import (
"gorm.io/gorm"
"carrot_bbs/internal/pkg/utils"
"with_you/internal/pkg/utils"
)
// ConversationType 会话类型

View File

@@ -1,11 +1,11 @@
package model
package model
import (
"time"
"gorm.io/gorm"
"carrot_bbs/internal/pkg/utils"
"with_you/internal/pkg/utils"
)
// DeviceType 设备类型

View File

@@ -1,10 +1,10 @@
package model
package model
import (
"strconv"
"time"
"carrot_bbs/internal/pkg/utils"
"with_you/internal/pkg/utils"
"gorm.io/gorm"
)

View File

@@ -1,10 +1,10 @@
package model
package model
import (
"strconv"
"time"
"carrot_bbs/internal/pkg/utils"
"with_you/internal/pkg/utils"
"gorm.io/gorm"
)

View File

@@ -1,10 +1,10 @@
package model
package model
import (
"strconv"
"time"
"carrot_bbs/internal/pkg/utils"
"with_you/internal/pkg/utils"
"gorm.io/gorm"
)

View File

@@ -1,10 +1,10 @@
package model
package model
import (
"strconv"
"time"
"carrot_bbs/internal/pkg/utils"
"with_you/internal/pkg/utils"
"gorm.io/gorm"
)

View File

@@ -1,4 +1,4 @@
package model
package model
import (
"fmt"
@@ -12,7 +12,7 @@ import (
"gorm.io/gorm"
"gorm.io/gorm/logger"
"carrot_bbs/internal/config"
"with_you/internal/config"
)
// NewDB 创建数据库连接(用于 Wire 依赖注入)

View File

@@ -1,4 +1,4 @@
package model
package model
import (
"database/sql/driver"
@@ -10,8 +10,8 @@ import (
"gorm.io/gorm"
"carrot_bbs/internal/pkg/crypto"
"carrot_bbs/internal/pkg/utils"
"with_you/internal/pkg/crypto"
"with_you/internal/pkg/utils"
)
// 系统消息相关常量

View File

@@ -1,11 +1,11 @@
package model
package model
import (
"time"
"gorm.io/gorm"
"carrot_bbs/internal/pkg/utils"
"with_you/internal/pkg/utils"
)
// PushChannel 推送通道类型

View File

@@ -1,4 +1,4 @@
package model
package model
import (
"database/sql/driver"
@@ -8,7 +8,7 @@ import (
"gorm.io/gorm"
"carrot_bbs/internal/pkg/utils"
"with_you/internal/pkg/utils"
)
// SystemNotificationType 系统通知类型