simplify call to peer
This commit is contained in:
parent
d0e1474f8f
commit
d43938236e
@ -10,6 +10,7 @@ import (
|
|||||||
|
|
||||||
type SharedWorkspace struct {
|
type SharedWorkspace struct {
|
||||||
utils.AbstractObject
|
utils.AbstractObject
|
||||||
|
CreatorID string `json:"peer_id,omitempty" bson:"peer_id,omitempty" validate:"required"`
|
||||||
Version string `json:"version,omitempty" bson:"version,omitempty" validate:"required"`
|
Version string `json:"version,omitempty" bson:"version,omitempty" validate:"required"`
|
||||||
Description string `json:"description,omitempty" bson:"description,omitempty"`
|
Description string `json:"description,omitempty" bson:"description,omitempty"`
|
||||||
Attributes map[string]interface{} `json:"attributes,omitempty" bson:"attributes,omitempty"`
|
Attributes map[string]interface{} `json:"attributes,omitempty" bson:"attributes,omitempty"`
|
||||||
|
Loading…
Reference in New Issue
Block a user