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 }