From 56bd7af62db4ec65f0d809f52b8306f69d34f418 Mon Sep 17 00:00:00 2001 From: Nicolas CARON Date: Tue, 11 Feb 2025 10:16:42 +0100 Subject: [PATCH] Add Owners in Diags --- storage/Diag.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/storage/Diag.go b/storage/Diag.go index 8f95c7d..74e52ab 100644 --- a/storage/Diag.go +++ b/storage/Diag.go @@ -3,13 +3,13 @@ package storage import "time" type Diag struct { - ID string `json:"id" bson:"_id"` - Name string `json:"name"` - Namespace string `json:"namespace"` - Json_schema string `json:"json_schema"` - Ui_schema string `json:"ui_schema"` - Data map[string]any `json:"data"` - Deleted bool `json:"deleted"` - Diagdate time.Time `json:"diagdate"` - Owners string `json:"owners"` + ID string `json:"id" bson:"_id"` + Name string `json:"name"` + Namespace string `json:"namespace"` + Json_schema string `json:"json_schema"` + Ui_schema string `json:"ui_schema"` + Data map[string]any `json:"data"` + Deleted bool `json:"deleted"` + Diagdate time.Time `json:"diagdate"` + Owners []string `json:"owners"` }