diff options
Diffstat (limited to 'vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extendedby.go')
-rw-r--r-- | vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extendedby.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extendedby.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extendedby.go index 5be94edec..66cf49ac9 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extendedby.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extendedby.go @@ -18,6 +18,7 @@ import ( typedelete "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_delete" typedislike "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike" typedocument "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_document" + typeendpoints "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints" typeevent "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_event" typeflag "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_flag" typefollow "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_follow" @@ -165,6 +166,13 @@ func ActivityStreamsDocumentIsExtendedBy(other vocab.Type) bool { return typedocument.DocumentIsExtendedBy(other) } +// ActivityStreamsEndpointsIsExtendedBy returns true if the other's type extends +// from Endpoints. Note that it returns false if the types are the same; see +// the "IsOrExtends" variant instead. +func ActivityStreamsEndpointsIsExtendedBy(other vocab.Type) bool { + return typeendpoints.EndpointsIsExtendedBy(other) +} + // ActivityStreamsEventIsExtendedBy returns true if the other's type extends from // Event. Note that it returns false if the types are the same; see the // "IsOrExtends" variant instead. |