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,6 +1,6 @@
|
||||
package email
|
||||
package email
|
||||
|
||||
import "carrot_bbs/internal/config"
|
||||
import "with_you/internal/config"
|
||||
|
||||
// Config SMTP 邮件配置(由应用配置转换)
|
||||
type Config struct {
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package hook
|
||||
package hook
|
||||
|
||||
import (
|
||||
"context"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"carrot_bbs/internal/repository"
|
||||
"with_you/internal/repository"
|
||||
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package hook
|
||||
package hook
|
||||
|
||||
import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"carrot_bbs/internal/repository"
|
||||
"with_you/internal/repository"
|
||||
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package openai
|
||||
package openai
|
||||
|
||||
import "carrot_bbs/internal/config"
|
||||
import "with_you/internal/config"
|
||||
|
||||
// Config OpenAI 兼容接口配置
|
||||
type Config struct {
|
||||
|
||||
@@ -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客户端
|
||||
|
||||
@@ -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 统一响应结构
|
||||
|
||||
@@ -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客户端
|
||||
|
||||
Reference in New Issue
Block a user