From 941b2316c35f8126b6f701d4788dd8e8d82c4a22 Mon Sep 17 00:00:00 2001 From: marvzhang Date: Tue, 20 Apr 2021 13:20:51 +0800 Subject: [PATCH] fixed namings --- .gitmodules | 15 +++++++++++++++ backend/apps/api.go | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .gitmodules diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..151cc946 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,15 @@ +[submodule "backend/core"] + path = backend/core + url = https://github.com/crawlab-team/crawlab-core +[submodule "backend/db"] + path = backend/db + url = https://github.com/crawlab-team/crawlab-db +[submodule "backend/fs"] + path = backend/fs + url = https://github.com/crawlab-team/crawlab-fs +[submodule "backend/vcs"] + path = backend/vcs + url = https://github.com/crawlab-team/crawlab-vcs +[submodule "backend/log"] + path = backend/log + url = https://github.com/crawlab-team/crawlab-log diff --git a/backend/apps/api.go b/backend/apps/api.go index 67e86ba1..11b1b2b2 100644 --- a/backend/apps/api.go +++ b/backend/apps/api.go @@ -37,7 +37,7 @@ func (app *Api) Init() { _ = app.initModule("redis", redis.InitRedis) // initialize model services - _ = app.initModule("modeServices", models.InitModelServices) + _ = app.initModule("mode-services", models.InitModelServices) // initialize controllers _ = app.initModule("controllers", controllers.InitControllers)