From c06fc4c04ab9f1a8ab9cab8996aa6091a686daa9 Mon Sep 17 00:00:00 2001 From: Rogee Date: Thu, 28 Nov 2024 09:17:16 +0800 Subject: [PATCH] feat: support workspace --- consts.go => backend/consts.go | 0 go.mod => backend/go.mod | 0 go.sum => backend/go.sum | 0 main.go => backend/main.go | 0 middlewares.go => backend/middlewares.go | 0 .../pkg}/middlewares/fiberv3/middlewares.go | 0 {pkg => backend/pkg}/wechat/errors.go | 0 {pkg => backend/pkg}/wechat/funcs.go | 0 {pkg => backend/pkg}/wechat/options.go | 0 {pkg => backend/pkg}/wechat/response.go | 0 {pkg => backend/pkg}/wechat/wechat.go | 0 {pkg => backend/pkg}/wechat/wechat_test.go | 0 mp.code-workspace | 10 ++++++++++ 13 files changed, 10 insertions(+) rename consts.go => backend/consts.go (100%) rename go.mod => backend/go.mod (100%) rename go.sum => backend/go.sum (100%) rename main.go => backend/main.go (100%) rename middlewares.go => backend/middlewares.go (100%) rename {pkg => backend/pkg}/middlewares/fiberv3/middlewares.go (100%) rename {pkg => backend/pkg}/wechat/errors.go (100%) rename {pkg => backend/pkg}/wechat/funcs.go (100%) rename {pkg => backend/pkg}/wechat/options.go (100%) rename {pkg => backend/pkg}/wechat/response.go (100%) rename {pkg => backend/pkg}/wechat/wechat.go (100%) rename {pkg => backend/pkg}/wechat/wechat_test.go (100%) create mode 100644 mp.code-workspace diff --git a/consts.go b/backend/consts.go similarity index 100% rename from consts.go rename to backend/consts.go diff --git a/go.mod b/backend/go.mod similarity index 100% rename from go.mod rename to backend/go.mod diff --git a/go.sum b/backend/go.sum similarity index 100% rename from go.sum rename to backend/go.sum diff --git a/main.go b/backend/main.go similarity index 100% rename from main.go rename to backend/main.go diff --git a/middlewares.go b/backend/middlewares.go similarity index 100% rename from middlewares.go rename to backend/middlewares.go diff --git a/pkg/middlewares/fiberv3/middlewares.go b/backend/pkg/middlewares/fiberv3/middlewares.go similarity index 100% rename from pkg/middlewares/fiberv3/middlewares.go rename to backend/pkg/middlewares/fiberv3/middlewares.go diff --git a/pkg/wechat/errors.go b/backend/pkg/wechat/errors.go similarity index 100% rename from pkg/wechat/errors.go rename to backend/pkg/wechat/errors.go diff --git a/pkg/wechat/funcs.go b/backend/pkg/wechat/funcs.go similarity index 100% rename from pkg/wechat/funcs.go rename to backend/pkg/wechat/funcs.go diff --git a/pkg/wechat/options.go b/backend/pkg/wechat/options.go similarity index 100% rename from pkg/wechat/options.go rename to backend/pkg/wechat/options.go diff --git a/pkg/wechat/response.go b/backend/pkg/wechat/response.go similarity index 100% rename from pkg/wechat/response.go rename to backend/pkg/wechat/response.go diff --git a/pkg/wechat/wechat.go b/backend/pkg/wechat/wechat.go similarity index 100% rename from pkg/wechat/wechat.go rename to backend/pkg/wechat/wechat.go diff --git a/pkg/wechat/wechat_test.go b/backend/pkg/wechat/wechat_test.go similarity index 100% rename from pkg/wechat/wechat_test.go rename to backend/pkg/wechat/wechat_test.go diff --git a/mp.code-workspace b/mp.code-workspace new file mode 100644 index 0000000..b6d6553 --- /dev/null +++ b/mp.code-workspace @@ -0,0 +1,10 @@ +{ + "folders": [ + { + "path": "frontend" + }, + { + "path": "backend" + } + ] +} \ No newline at end of file