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,9 +1,9 @@
package dto
package dto
import (
"time"
"carrot_bbs/internal/model"
"with_you/internal/model"
)
// ==================== Call Request DTOs ====================

View File

@@ -1,7 +1,7 @@
package dto
package dto
import (
"carrot_bbs/internal/model"
"with_you/internal/model"
"time"
)

View File

@@ -1,7 +1,7 @@
package dto
package dto
import (
"carrot_bbs/internal/model"
"with_you/internal/model"
)
// ==================== Group 转换 ====================

View File

@@ -1,7 +1,7 @@
package dto
package dto
import (
"carrot_bbs/internal/model"
"with_you/internal/model"
)
// ==================== Message 转换 ====================

View File

@@ -1,7 +1,7 @@
package dto
package dto
import (
"carrot_bbs/internal/model"
"with_you/internal/model"
"strconv"
)

View File

@@ -1,7 +1,7 @@
package dto
package dto
import (
"carrot_bbs/internal/model"
"with_you/internal/model"
"context"
"encoding/json"
)

View File

@@ -1,7 +1,7 @@
package dto
package dto
import (
"carrot_bbs/internal/model"
"with_you/internal/model"
)
// ==================== 举报 DTOs ====================

View File

@@ -1,9 +1,9 @@
package dto
package dto
import (
"encoding/json"
"carrot_bbs/internal/model"
"with_you/internal/model"
)
func ConvertScheduleCourseToResponse(course *model.ScheduleCourse, weeks []int) *ScheduleCourseResponse {

View File

@@ -1,11 +1,11 @@
package dto
package dto
import (
"encoding/json"
"fmt"
"slices"
"carrot_bbs/internal/model"
"with_you/internal/model"
)
// ParseSegmentData 解析Segment数据到目标结构体

View File

@@ -1,8 +1,8 @@
package dto
package dto
import (
"carrot_bbs/internal/model"
"carrot_bbs/internal/pkg/utils"
"with_you/internal/model"
"with_you/internal/pkg/utils"
)
// ==================== User 转换 ====================