package
1.0.0
Repository: https://github.com/go-fed/activity.git
Documentation: pkg.go.dev

# Functions

ActivityStreamsImageExtends returns true if the Image type extends from the other type.
DeserializeImage creates a Image from a map representation that has been unmarshalled from a text or binary format.
ImageIsDisjointWith returns true if the other provided type is disjoint with the Image type.
ImageIsExtendedBy returns true if the other provided type extends from the Image type.
IsOrExtendsImage returns true if the other provided type is the Image type or extends from the Image type.
NewActivityStreamsImage creates a new Image type.
SetManager sets the manager package-global variable.
SetTypePropertyConstructor sets the "type" property's constructor in the package-global variable.

# Structs

An image document of any kind Example 51 (https://www.w3.org/TR/activitystreams-vocabulary/#ex50-jsonld): { "name": "Cat Jumping on Wagon", "type": "Image", "url": [ { "mediaType": "image/jpeg", "type": "Link", "url": "http://example.org/image.jpeg" }, { "mediaType": "image/png", "type": "Link", "url": "http://example.org/image.png" } ] }.