test *
This commit is contained in:
@@ -14,6 +14,8 @@ type DataResource struct {
|
||||
Example string `json:"example" bson:"example" required:"true" validate:"required" description:"base64 encoded data"`
|
||||
}
|
||||
|
||||
func (d *DataResource) BindID(id string) {}
|
||||
|
||||
func (dma *DataResource) Deserialize(j map[string]interface{}) utils.DBObject {
|
||||
b, err := json.Marshal(j)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user