diff options
Diffstat (limited to 'model')
| -rw-r--r-- | model/comm_model.go | 2 | ||||
| -rw-r--r-- | model/comm_model_test.go | 4 | ||||
| -rw-r--r-- | model/rule_model.go | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/model/comm_model.go b/model/comm_model.go index f89b6c5..0093fdb 100644 --- a/model/comm_model.go +++ b/model/comm_model.go @@ -1,7 +1,7 @@ /* * @Author: your name * @Date: 2021-01-06 09:56:18 - * @LastEditTime: 2021-01-19 12:02:23 + * @LastEditTime: 2021-02-01 06:46:53 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: /commdetection/model/comm_model.go diff --git a/model/comm_model_test.go b/model/comm_model_test.go index a3a97ff..a8df7f9 100644 --- a/model/comm_model_test.go +++ b/model/comm_model_test.go @@ -1,7 +1,7 @@ /* * @Author: EnderByEndera * @Date: 2021-01-06 15:26:48 - * @LastEditTime: 2021-01-19 11:57:21 + * @LastEditTime: 2021-02-01 07:03:10 * @LastEditors: Please set LastEditors * @Description: test mongo.go * @FilePath: /commdetection/model/mongo_test.go @@ -108,7 +108,7 @@ func TestDeleteCommandsFromMongo(t *testing.T) { User: "root", }, } - err := commands.InsertAnyTo("test", "commands", 0) + err := commands.InsertAllTo("test", "commands") if err != nil { t.Error(err) } diff --git a/model/rule_model.go b/model/rule_model.go index 92cc77d..17f3c57 100644 --- a/model/rule_model.go +++ b/model/rule_model.go @@ -1,7 +1,7 @@ /* * @Author: EnderByEndera * @Date: 2021-01-04 16:30:53 - * @LastEditTime: 2021-01-12 11:53:39 + * @LastEditTime: 2021-02-01 06:23:02 * @LastEditors: Please set LastEditors * @Description: This is the model file used for rules pack * @FilePath: /commdetection/model/rule_model.go |
