Documentation ¶
Index ¶
- func AppendIRIs(target Appender, iris []*url.URL)
- func Content(object vocab.Type) string
- func Id(object vocab.Type) *url.URL
- func Name(object vocab.Type) string
- func Published(object vocab.Type) (time.Time, error)
- func SetIdOn(target vocab.Type, iri *url.URL)
- func ToCollection(iris []*url.URL) vocab.ActivityStreamsCollection
- func ToPage(iris []*url.URL) vocab.ActivityStreamsOrderedCollectionPage
- func Type(obj vocab.Type) string
- type Appender
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendIRIs ¶
Append all elements in iris to target.
func Published ¶
Try to get the "published" property from object. On error, return the zero value for time.Time and an error explaining what happened.
func ToCollection ¶
func ToCollection(iris []*url.URL) vocab.ActivityStreamsCollection
Return a new collection that contains all elements in iris.
Types ¶
Click to show internal directories.
Click to hide internal directories.