Changes
2 changed files (+5/-2)
-
-
@@ -71,7 +71,10 @@ var validActivityTypes = [...]string{// about the kind of action being taken. type Activity struct { *IntransitiveActivity // @see activitypub.Object // When used within an Activity, describes the direct object of the activity. // For instance, in the activity "John added a movie to his wishlist", // the object of the activity is the movie added. // When used within a Relationship describes the entity to which the subject is related. Object ObjectOrLink `jsonld:"object,omitempty"` }
-
-
-
@@ -78,7 +78,7 @@ type Object struct {*BaseObject // Identifies a resource attached or related to an object that potentially requires special handling. // The intent is to provide a model that is at least semantically similar to attachments in email. Attachment ObjectOrLink `jsonld:"Attachment,omitempty"` Attachment ObjectOrLink `jsonld:"attachment,omitempty"` // Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. // For instance, an object might be attributed to the completion of another activity. AttributedTo ObjectOrLink `jsonld:"attributedTo,omitempty"`
-