Changes
2 changed files (+18/-18)
-
-
@@ -279,12 +279,12 @@ func (c *Collection) Append(ob Item) error {} // GetType returns the Collection's type func (c *Collection) GetType() ActivityVocabularyType { func (c Collection) GetType() ActivityVocabularyType { return c.Type } // IsLink returns false for a Collection object func (c *Collection) IsLink() bool { func (c Collection) IsLink() bool { return false }
-
@@ -294,17 +294,17 @@ func (c *Collection) GetID() *ObjectID {} // IsObject returns true for a Collection object func (c *Collection) IsObject() bool { func (c Collection) IsObject() bool { return true } // GetType returns the OrderedCollection's type func (o *OrderedCollection) GetType() ActivityVocabularyType { func (o OrderedCollection) GetType() ActivityVocabularyType { return o.Type } // IsLink returns false for an OrderedCollection object func (o *OrderedCollection) IsLink() bool { func (o OrderedCollection) IsLink() bool { return false }
-
@@ -314,7 +314,7 @@ func (o OrderedCollection) GetID() *ObjectID {} // IsObject returns true for am OrderedCollection object func (o *OrderedCollection) IsObject() bool { func (o OrderedCollection) IsObject() bool { return true }
-
-
-
@@ -46,42 +46,42 @@ func (i *Inbox) Append(ob Item) error {} // GetID returns the ObjectID corresponding to InboxStream func (i *InboxStream) GetID() *ObjectID { func (i InboxStream) GetID() *ObjectID { return i.Collection().GetID() } // GetType returns the InboxStream's type func (i *InboxStream) GetType() ActivityVocabularyType { func (i InboxStream) GetType() ActivityVocabularyType { return i.Type } // IsLink returns false for an InboxStream object func (i *InboxStream) IsLink() bool { func (i InboxStream) IsLink() bool { return false } // IsObject returns true for a InboxStream object func (i *InboxStream) IsObject() bool { func (i InboxStream) IsObject() bool { return true } // GetID returns the ObjectID corresponding to Inbox func (i *Inbox) GetID() *ObjectID { func (i Inbox) GetID() *ObjectID { return i.Collection().GetID() } // GetType returns the Inbox's type func (i *Inbox) GetType() ActivityVocabularyType { func (i Inbox) GetType() ActivityVocabularyType { return i.Type } // IsLink returns false for an Inbox object func (i *Inbox) IsLink() bool { func (i Inbox) IsLink() bool { return false } // IsObject returns true for a Inbox object func (i *Inbox) IsObject() bool { func (i Inbox) IsObject() bool { return true }
-
@@ -106,13 +106,13 @@ func (i *Inbox) UnmarshalJSON(data []byte) error {} // Collection returns the underlying Collection type func (i *Inbox) Collection() CollectionInterface { c := OrderedCollection(*i) func (i Inbox) Collection() CollectionInterface { c := OrderedCollection(i) return &c } // Collection returns the underlying Collection type func (i *InboxStream) Collection() CollectionInterface { c := OrderedCollection(*i) func (i InboxStream) Collection() CollectionInterface { c := OrderedCollection(i) return &c }
-