🎨 清理多余文件,修改项目model
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
//go:build legacy_plugin_ast
|
||||
// +build legacy_plugin_ast
|
||||
|
||||
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 +31,7 @@ func TestPluginInitializeRouter_Injection(t *testing.T) {
|
||||
fields: fields{
|
||||
Type: TypePluginInitializeRouter,
|
||||
Path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, "plugin", "gva", "initialize", "router.go"),
|
||||
ImportPath: `"github.com/flipped-aurora/gin-vue-admin/server/plugin/gva/router"`,
|
||||
ImportPath: `"git.echol.cn/loser/Go-Web-Template/server/plugin/gva/router"`,
|
||||
AppName: "Router",
|
||||
GroupName: "User",
|
||||
PackageName: "router",
|
||||
@@ -43,7 +46,7 @@ func TestPluginInitializeRouter_Injection(t *testing.T) {
|
||||
fields: fields{
|
||||
Type: TypePluginInitializeRouter,
|
||||
Path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, "plugin", "gva", "initialize", "router.go"),
|
||||
ImportPath: `"github.com/flipped-aurora/gin-vue-admin/server/plugin/gva/router"`,
|
||||
ImportPath: `"git.echol.cn/loser/Go-Web-Template/server/plugin/gva/router"`,
|
||||
AppName: "Router",
|
||||
GroupName: "U中文",
|
||||
PackageName: "router",
|
||||
@@ -102,7 +105,7 @@ func TestPluginInitializeRouter_Rollback(t *testing.T) {
|
||||
fields: fields{
|
||||
Type: TypePluginInitializeRouter,
|
||||
Path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, "plugin", "gva", "initialize", "router.go"),
|
||||
ImportPath: `"github.com/flipped-aurora/gin-vue-admin/server/plugin/gva/router"`,
|
||||
ImportPath: `"git.echol.cn/loser/Go-Web-Template/server/plugin/gva/router"`,
|
||||
AppName: "Router",
|
||||
GroupName: "User",
|
||||
PackageName: "router",
|
||||
@@ -117,7 +120,7 @@ func TestPluginInitializeRouter_Rollback(t *testing.T) {
|
||||
fields: fields{
|
||||
Type: TypePluginInitializeRouter,
|
||||
Path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, "plugin", "gva", "initialize", "router.go"),
|
||||
ImportPath: `"github.com/flipped-aurora/gin-vue-admin/server/plugin/gva/router"`,
|
||||
ImportPath: `"git.echol.cn/loser/Go-Web-Template/server/plugin/gva/router"`,
|
||||
AppName: "Router",
|
||||
GroupName: "U中文",
|
||||
PackageName: "router",
|
||||
|
||||
Reference in New Issue
Block a user