🎨 清理多余文件,修改项目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 TestPackageModuleEnter_Rollback(t *testing.T) {
fields: fields{
Type: TypePackageRouterModuleEnter,
Path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, "router", "example", "enter.go"),
ImportPath: `api "github.com/flipped-aurora/gin-vue-admin/server/api/v1"`,
ImportPath: `api "git.echol.cn/loser/Go-Web-Template/server/api/v1"`,
StructName: "FileUploadAndDownloadRouter",
AppName: "ApiGroupApp",
GroupName: "ExampleApiGroup",
@@ -43,7 +43,7 @@ func TestPackageModuleEnter_Rollback(t *testing.T) {
fields: fields{
Type: TypePackageApiModuleEnter,
Path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, "api", "v1", "example", "enter.go"),
ImportPath: `"github.com/flipped-aurora/gin-vue-admin/server/service"`,
ImportPath: `"git.echol.cn/loser/Go-Web-Template/server/service"`,
StructName: "FileUploadAndDownloadApi",
AppName: "ServiceGroupApp",
GroupName: "ExampleServiceGroup",
@@ -117,7 +117,7 @@ func TestPackageModuleEnter_Injection(t *testing.T) {
fields: fields{
Type: TypePackageRouterModuleEnter,
Path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, "router", "example", "enter.go"),
ImportPath: `api "github.com/flipped-aurora/gin-vue-admin/server/api/v1"`,
ImportPath: `api "git.echol.cn/loser/Go-Web-Template/server/api/v1"`,
StructName: "FileUploadAndDownloadRouter",
AppName: "ApiGroupApp",
GroupName: "ExampleApiGroup",
@@ -132,7 +132,7 @@ func TestPackageModuleEnter_Injection(t *testing.T) {
fields: fields{
Type: TypePackageApiModuleEnter,
Path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, "api", "v1", "example", "enter.go"),
ImportPath: `"github.com/flipped-aurora/gin-vue-admin/server/service"`,
ImportPath: `"git.echol.cn/loser/Go-Web-Template/server/service"`,
StructName: "FileUploadAndDownloadApi",
AppName: "ServiceGroupApp",
GroupName: "ExampleServiceGroup",