From 25c573d55986e02cf5f70cc3868e2b94a4be98e2 Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期五, 25 八月 2023 19:35:57 +0800 Subject: [PATCH] change package name --- initialize/gorm.go | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/initialize/gorm.go b/initialize/gorm.go index 57d3be0..e273877 100644 --- a/initialize/gorm.go +++ b/initialize/gorm.go @@ -3,13 +3,13 @@ import ( "os" - "github.com/flipped-aurora/gin-vue-admin/server/global" - "github.com/flipped-aurora/gin-vue-admin/server/model/example" - "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "srm/global" + "srm/model/example" + "srm/model/system" - "github.com/flipped-aurora/gin-vue-admin/server/model/test" "go.uber.org/zap" "gorm.io/gorm" + "srm/model/test" ) func Gorm() *gorm.DB { @@ -51,7 +51,7 @@ example.ExaFile{}, example.ExaCustomer{}, example.ExaFileChunk{}, - example.ExaFileUploadAndDownload{}, test.Industry{}, test.SupplierType{}, test.Supplier{}, + example.ExaFileUploadAndDownload{}, test.Industry{}, test.SupplierType{}, test.Supplier{}, test.Contract{}, ) if err != nil { global.GVA_LOG.Error("register table failed", zap.Error(err)) -- Gitblit v1.8.0