Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Namespace ¶
type Namespace struct { ID string // "http://www.w3.org/ns/activitystreams#" Short string // "as" Props []*Prop // All properties in this namespace. Types map[string]*Type // All Types in this namespace. }
Describes a namespace.
type Type ¶
type Type struct { ID string // "http://www.w3.org/ns/activitystreams#Note" Short string // "Note" SubClassOf []*Type // Supertypes, if any. Props []*Prop // Property names. // Casts an arbitrary Entity to this type. // Underlying Objects are not copied - see the note on Manifest! Cast func(ld.Entity) ld.Entity }
Describes a type.
func (*Type) IsSubClassOf ¶
Returns whether the type inherits from another type, somewhere up the inheritance chain.
Click to show internal directories.
Click to hide internal directories.