refactor(backend): Go 模块路径改为 hfb_jysh/backend 并忽略 .openidea

This commit is contained in:
yml2213
2026-11-10 12:01:50 +08:00
parent 98fccb295e
commit 0659070916
303 changed files with 690 additions and 691 deletions
+3 -3
View File
@@ -6,9 +6,9 @@ import (
"net/http"
"strings"
"hfb_sys/backend/internal/logging"
"hfb_sys/backend/internal/modules/auth"
"hfb_sys/backend/pkg/response"
"hfb_jysh/backend/internal/logging"
"hfb_jysh/backend/internal/modules/auth"
"hfb_jysh/backend/pkg/response"
"github.com/gin-gonic/gin"
)
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"net/http/httptest"
"testing"
"hfb_sys/backend/internal/modules/auth"
"hfb_jysh/backend/internal/modules/auth"
"github.com/gin-gonic/gin"
)
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"fmt"
"net/http"
"hfb_sys/backend/pkg/response"
"hfb_jysh/backend/pkg/response"
"github.com/gin-gonic/gin"
"github.com/redis/go-redis/v9"
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"sync"
"time"
"hfb_sys/backend/internal/modules/auth"
"hfb_jysh/backend/internal/modules/auth"
"github.com/gin-gonic/gin"
"github.com/redis/go-redis/v9"
@@ -5,7 +5,7 @@ import (
"net/http/httptest"
"testing"
"hfb_sys/backend/internal/modules/auth"
"hfb_jysh/backend/internal/modules/auth"
"github.com/gin-gonic/gin"
)
+2 -2
View File
@@ -3,8 +3,8 @@ package middleware
import (
"errors"
"hfb_sys/backend/internal/modules/auth"
"hfb_sys/backend/pkg/response"
"hfb_jysh/backend/internal/modules/auth"
"hfb_jysh/backend/pkg/response"
"github.com/gin-gonic/gin"
"gorm.io/gorm"
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"net/http"
"runtime/debug"
"hfb_sys/backend/pkg/response"
"hfb_jysh/backend/pkg/response"
"github.com/gin-gonic/gin"
"go.uber.org/zap"
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"sync/atomic"
"time"
"hfb_sys/backend/internal/logging"
"hfb_jysh/backend/internal/logging"
"github.com/gin-gonic/gin"
)
@@ -7,7 +7,7 @@ import (
"strings"
"time"
"hfb_sys/backend/pkg/response"
"hfb_jysh/backend/pkg/response"
"github.com/gin-gonic/gin"
"go.uber.org/zap"
@@ -6,7 +6,7 @@ import (
"net/http/httptest"
"testing"
"hfb_sys/backend/pkg/response"
"hfb_jysh/backend/pkg/response"
"github.com/gin-gonic/gin"
"go.uber.org/zap"
@@ -6,7 +6,7 @@ import (
"sync"
"time"
"hfb_sys/backend/internal/sitecode"
"hfb_jysh/backend/internal/sitecode"
"github.com/gin-gonic/gin"
"go.uber.org/zap"
@@ -7,7 +7,7 @@ import (
"net/http/httptest"
"testing"
"hfb_sys/backend/internal/sitecode"
"hfb_jysh/backend/internal/sitecode"
"github.com/gin-gonic/gin"
)