feat: initial commit
This commit is contained in:
commit
a161b86c9a
705 changed files with 288162 additions and 0 deletions
18
vendor/sourcery.dny.nu/pana/relationship.go
vendored
Normal file
18
vendor/sourcery.dny.nu/pana/relationship.go
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
package pana
|
||||
|
||||
import ld "sourcery.dny.nu/longdistance"
|
||||
|
||||
// Relationship is the ActivityStreams Relationship type.
|
||||
type Relationship Object
|
||||
|
||||
// NewRelationship initialises a new Relationship.
|
||||
func NewRelationship() *Relationship {
|
||||
return &Relationship{
|
||||
Properties: make(ld.Properties),
|
||||
}
|
||||
}
|
||||
|
||||
// Build finalises the Relationship.
|
||||
func (r *Relationship) Build() Relationship {
|
||||
return *r
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue