This is a breaking change that renames the entire project from "Carrot BBS" to "WithYou".
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:
@@ -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 通话类型
|
||||
|
||||
@@ -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 会话类型
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package model
|
||||
package model
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"gorm.io/gorm"
|
||||
|
||||
"carrot_bbs/internal/pkg/utils"
|
||||
"with_you/internal/pkg/utils"
|
||||
)
|
||||
|
||||
// DeviceType 设备类型
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package model
|
||||
package model
|
||||
|
||||
import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"carrot_bbs/internal/pkg/utils"
|
||||
"with_you/internal/pkg/utils"
|
||||
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package model
|
||||
package model
|
||||
|
||||
import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"carrot_bbs/internal/pkg/utils"
|
||||
"with_you/internal/pkg/utils"
|
||||
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package model
|
||||
package model
|
||||
|
||||
import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"carrot_bbs/internal/pkg/utils"
|
||||
"with_you/internal/pkg/utils"
|
||||
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package model
|
||||
package model
|
||||
|
||||
import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"carrot_bbs/internal/pkg/utils"
|
||||
"with_you/internal/pkg/utils"
|
||||
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
@@ -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 依赖注入)
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// 系统消息相关常量
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package model
|
||||
package model
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"gorm.io/gorm"
|
||||
|
||||
"carrot_bbs/internal/pkg/utils"
|
||||
"with_you/internal/pkg/utils"
|
||||
)
|
||||
|
||||
// PushChannel 推送通道类型
|
||||
|
||||
@@ -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 系统通知类型
|
||||
|
||||
Reference in New Issue
Block a user