From 5c44b46bcb61f382071e5931d580438c7fdc0e11 Mon Sep 17 00:00:00 2001 From: mr Date: Fri, 19 Jul 2024 12:57:25 +0200 Subject: [PATCH] test * --- models/workflow/workflow.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/models/workflow/workflow.go b/models/workflow/workflow.go index 88fdbba..b8a3015 100644 --- a/models/workflow/workflow.go +++ b/models/workflow/workflow.go @@ -2,13 +2,14 @@ package oclib import ( "encoding/json" + "fmt" w "cloud.o-forge.io/core/oc-lib/models/resources/workflow" "cloud.o-forge.io/core/oc-lib/models/utils" ) type Workflow struct { - utils.AbstractObject + *utils.AbstractObject w.AbstractWorkflow } @@ -28,6 +29,7 @@ func (dma *Workflow) Deserialize(j map[string]interface{}) utils.DBObject { return nil } json.Unmarshal(b, dma) + fmt.Println(j, dma) return dma }