From 67900f9f2f948561b4c1b85d0bc3c9738c0b6a98 Mon Sep 17 00:00:00 2001 From: crusader Date: Mon, 26 Mar 2018 16:12:03 +0900 Subject: [PATCH] ing --- modules/{config => sensor_config}/config.go | 0 modules/{config => sensor_config}/model/Connection.go | 0 modules/{config => sensor_config}/model/Crawler.go | 0 modules/{config => sensor_config}/model/Item.go | 0 modules/{config => sensor_config}/model/Keys.go | 0 modules/{config => sensor_config}/model/MappingInfo.go | 0 modules/{config => sensor_config}/model/QueryInfo.go | 0 modules/{config => sensor_config}/model/ResultSet.go | 0 modules/{config => sensor_config}/model/ResultSetCol.go | 0 modules/{config => sensor_config}/model/ResultSetRow.go | 0 modules/{config => sensor_config}/model/Schedule.go | 0 .../model/Config.go => sensor_config/model/SensorConfig.go} | 2 +- modules/{config => sensor_config}/model/Target.go | 0 modules/{config => sensor_config}/util/Util.go | 0 14 files changed, 1 insertion(+), 1 deletion(-) rename modules/{config => sensor_config}/config.go (100%) rename modules/{config => sensor_config}/model/Connection.go (100%) rename modules/{config => sensor_config}/model/Crawler.go (100%) rename modules/{config => sensor_config}/model/Item.go (100%) rename modules/{config => sensor_config}/model/Keys.go (100%) rename modules/{config => sensor_config}/model/MappingInfo.go (100%) rename modules/{config => sensor_config}/model/QueryInfo.go (100%) rename modules/{config => sensor_config}/model/ResultSet.go (100%) rename modules/{config => sensor_config}/model/ResultSetCol.go (100%) rename modules/{config => sensor_config}/model/ResultSetRow.go (100%) rename modules/{config => sensor_config}/model/Schedule.go (100%) rename modules/{config/model/Config.go => sensor_config/model/SensorConfig.go} (91%) rename modules/{config => sensor_config}/model/Target.go (100%) rename modules/{config => sensor_config}/util/Util.go (100%) diff --git a/modules/config/config.go b/modules/sensor_config/config.go similarity index 100% rename from modules/config/config.go rename to modules/sensor_config/config.go diff --git a/modules/config/model/Connection.go b/modules/sensor_config/model/Connection.go similarity index 100% rename from modules/config/model/Connection.go rename to modules/sensor_config/model/Connection.go diff --git a/modules/config/model/Crawler.go b/modules/sensor_config/model/Crawler.go similarity index 100% rename from modules/config/model/Crawler.go rename to modules/sensor_config/model/Crawler.go diff --git a/modules/config/model/Item.go b/modules/sensor_config/model/Item.go similarity index 100% rename from modules/config/model/Item.go rename to modules/sensor_config/model/Item.go diff --git a/modules/config/model/Keys.go b/modules/sensor_config/model/Keys.go similarity index 100% rename from modules/config/model/Keys.go rename to modules/sensor_config/model/Keys.go diff --git a/modules/config/model/MappingInfo.go b/modules/sensor_config/model/MappingInfo.go similarity index 100% rename from modules/config/model/MappingInfo.go rename to modules/sensor_config/model/MappingInfo.go diff --git a/modules/config/model/QueryInfo.go b/modules/sensor_config/model/QueryInfo.go similarity index 100% rename from modules/config/model/QueryInfo.go rename to modules/sensor_config/model/QueryInfo.go diff --git a/modules/config/model/ResultSet.go b/modules/sensor_config/model/ResultSet.go similarity index 100% rename from modules/config/model/ResultSet.go rename to modules/sensor_config/model/ResultSet.go diff --git a/modules/config/model/ResultSetCol.go b/modules/sensor_config/model/ResultSetCol.go similarity index 100% rename from modules/config/model/ResultSetCol.go rename to modules/sensor_config/model/ResultSetCol.go diff --git a/modules/config/model/ResultSetRow.go b/modules/sensor_config/model/ResultSetRow.go similarity index 100% rename from modules/config/model/ResultSetRow.go rename to modules/sensor_config/model/ResultSetRow.go diff --git a/modules/config/model/Schedule.go b/modules/sensor_config/model/Schedule.go similarity index 100% rename from modules/config/model/Schedule.go rename to modules/sensor_config/model/Schedule.go diff --git a/modules/config/model/Config.go b/modules/sensor_config/model/SensorConfig.go similarity index 91% rename from modules/config/model/Config.go rename to modules/sensor_config/model/SensorConfig.go index f293d39..399b8ab 100644 --- a/modules/config/model/Config.go +++ b/modules/sensor_config/model/SensorConfig.go @@ -2,7 +2,7 @@ package model import "encoding/json" -type Config struct { +type SensorConfig struct { ID json.Number `json:"id,Number,omitempty"` Target *Target `json:"target,omitempty"` Schedule *Schedule `json:"schedule,omitempty"` diff --git a/modules/config/model/Target.go b/modules/sensor_config/model/Target.go similarity index 100% rename from modules/config/model/Target.go rename to modules/sensor_config/model/Target.go diff --git a/modules/config/util/Util.go b/modules/sensor_config/util/Util.go similarity index 100% rename from modules/config/util/Util.go rename to modules/sensor_config/util/Util.go