test *
This commit is contained in:
parent
d28662d70b
commit
5c44b46bcb
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user