From fcdb8c6959e72036b80cd412cb4635326f90758b Mon Sep 17 00:00:00 2001 From: xzb <223@qq.com> Date: Wed, 23 Aug 2023 15:23:30 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/test1/main.go | 6 +++--- {memory => storages/memory}/model_manage.go | 0 {memory => storages/memory}/status_manage.go | 0 {memory => storages/memory}/wdcreator/init_world.go | 0 {model => storages/model}/axle_model.go | 0 {model => storages/model}/balise_model.go | 0 {model => storages/model}/button_model.go | 0 {model => storages/model}/device_model.go | 0 {model => storages/model}/link_model.go | 0 {model => storages/model}/psd_model.go | 0 {model => storages/model}/signal_model.go | 0 {model => storages/model}/switch_model.go | 0 system/psd_system.go | 2 +- system/switch_system.go | 2 +- 14 files changed, 5 insertions(+), 5 deletions(-) rename {memory => storages/memory}/model_manage.go (100%) rename {memory => storages/memory}/status_manage.go (100%) rename {memory => storages/memory}/wdcreator/init_world.go (100%) rename {model => storages/model}/axle_model.go (100%) rename {model => storages/model}/balise_model.go (100%) rename {model => storages/model}/button_model.go (100%) rename {model => storages/model}/device_model.go (100%) rename {model => storages/model}/link_model.go (100%) rename {model => storages/model}/psd_model.go (100%) rename {model => storages/model}/signal_model.go (100%) rename {model => storages/model}/switch_model.go (100%) diff --git a/examples/test1/main.go b/examples/test1/main.go index 3ff0078..f4889f8 100644 --- a/examples/test1/main.go +++ b/examples/test1/main.go @@ -7,9 +7,9 @@ import ( "joylink.club/ecs" "joylink.club/rtsssimulation/components" "joylink.club/rtsssimulation/components/cstate" - "joylink.club/rtsssimulation/memory" - "joylink.club/rtsssimulation/memory/wdcreator" - "joylink.club/rtsssimulation/model" + "joylink.club/rtsssimulation/storages/memory" + "joylink.club/rtsssimulation/storages/memory/wdcreator" + "joylink.club/rtsssimulation/storages/model" "joylink.club/rtsssimulation/system" "joylink.club/rtsssimulation/umi" ) diff --git a/memory/model_manage.go b/storages/memory/model_manage.go similarity index 100% rename from memory/model_manage.go rename to storages/memory/model_manage.go diff --git a/memory/status_manage.go b/storages/memory/status_manage.go similarity index 100% rename from memory/status_manage.go rename to storages/memory/status_manage.go diff --git a/memory/wdcreator/init_world.go b/storages/memory/wdcreator/init_world.go similarity index 100% rename from memory/wdcreator/init_world.go rename to storages/memory/wdcreator/init_world.go diff --git a/model/axle_model.go b/storages/model/axle_model.go similarity index 100% rename from model/axle_model.go rename to storages/model/axle_model.go diff --git a/model/balise_model.go b/storages/model/balise_model.go similarity index 100% rename from model/balise_model.go rename to storages/model/balise_model.go diff --git a/model/button_model.go b/storages/model/button_model.go similarity index 100% rename from model/button_model.go rename to storages/model/button_model.go diff --git a/model/device_model.go b/storages/model/device_model.go similarity index 100% rename from model/device_model.go rename to storages/model/device_model.go diff --git a/model/link_model.go b/storages/model/link_model.go similarity index 100% rename from model/link_model.go rename to storages/model/link_model.go diff --git a/model/psd_model.go b/storages/model/psd_model.go similarity index 100% rename from model/psd_model.go rename to storages/model/psd_model.go diff --git a/model/signal_model.go b/storages/model/signal_model.go similarity index 100% rename from model/signal_model.go rename to storages/model/signal_model.go diff --git a/model/switch_model.go b/storages/model/switch_model.go similarity index 100% rename from model/switch_model.go rename to storages/model/switch_model.go diff --git a/system/psd_system.go b/system/psd_system.go index 3d34dbe..2896cfa 100644 --- a/system/psd_system.go +++ b/system/psd_system.go @@ -7,7 +7,7 @@ import ( "joylink.club/ecs" "joylink.club/rtsssimulation/components" "joylink.club/rtsssimulation/components/cstate" - "joylink.club/rtsssimulation/memory" + "joylink.club/rtsssimulation/storages/memory" "joylink.club/rtsssimulation/umi" ) diff --git a/system/switch_system.go b/system/switch_system.go index be8c239..7b770d0 100644 --- a/system/switch_system.go +++ b/system/switch_system.go @@ -6,7 +6,7 @@ import ( "github.com/yohamta/donburi/filter" "joylink.club/ecs" "joylink.club/rtsssimulation/components" - "joylink.club/rtsssimulation/memory" + "joylink.club/rtsssimulation/storages/memory" "joylink.club/rtsssimulation/umi" )