🎨 清理多余文件,修改项目model

This commit is contained in:
2026-04-10 15:38:58 +08:00
parent 6a80fcc388
commit f106960342
221 changed files with 686 additions and 2801 deletions

View File

@@ -1,7 +1,7 @@
package ast
import (
"github.com/flipped-aurora/gin-vue-admin/server/global"
"git.echol.cn/loser/Go-Web-Template/server/global"
"path/filepath"
"testing"
)
@@ -28,7 +28,7 @@ func TestPackageInitializeRouter_Injection(t *testing.T) {
fields: fields{
Type: TypePackageInitializeRouter,
Path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, "initialize", "router_biz.go"),
ImportPath: `"github.com/flipped-aurora/gin-vue-admin/server/router"`,
ImportPath: `"git.echol.cn/loser/Go-Web-Template/server/router"`,
AppName: "RouterGroupApp",
GroupName: "Example",
ModuleName: "exampleRouter",
@@ -43,7 +43,7 @@ func TestPackageInitializeRouter_Injection(t *testing.T) {
fields: fields{
Type: TypePackageInitializeRouter,
Path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, "initialize", "router_biz.go"),
ImportPath: `"github.com/flipped-aurora/gin-vue-admin/server/router"`,
ImportPath: `"git.echol.cn/loser/Go-Web-Template/server/router"`,
AppName: "RouterGroupApp",
GroupName: "Example",
ModuleName: "exampleRouter",
@@ -105,7 +105,7 @@ func TestPackageInitializeRouter_Rollback(t *testing.T) {
fields: fields{
Type: TypePackageInitializeRouter,
Path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, "initialize", "router_biz.go"),
ImportPath: `"github.com/flipped-aurora/gin-vue-admin/server/router"`,
ImportPath: `"git.echol.cn/loser/Go-Web-Template/server/router"`,
AppName: "RouterGroupApp",
GroupName: "Example",
ModuleName: "exampleRouter",
@@ -120,7 +120,7 @@ func TestPackageInitializeRouter_Rollback(t *testing.T) {
fields: fields{
Type: TypePackageInitializeRouter,
Path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, "initialize", "router_biz.go"),
ImportPath: `"github.com/flipped-aurora/gin-vue-admin/server/router"`,
ImportPath: `"git.echol.cn/loser/Go-Web-Template/server/router"`,
AppName: "RouterGroupApp",
GroupName: "Example",
ModuleName: "exampleRouter",