feat: initial commit
This commit is contained in:
commit
a161b86c9a
705 changed files with 288162 additions and 0 deletions
22
vendor/sourcery.dny.nu/pana/place.go
vendored
Normal file
22
vendor/sourcery.dny.nu/pana/place.go
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
package pana
|
||||
|
||||
import (
|
||||
ld "sourcery.dny.nu/longdistance"
|
||||
as "sourcery.dny.nu/pana/vocab/w3/activitystreams"
|
||||
)
|
||||
|
||||
// Place is the ActivityStreams Place type.
|
||||
type Place Object
|
||||
|
||||
// NewPlace initialises a new Place.
|
||||
func NewPlace() *Place {
|
||||
return &Place{
|
||||
Properties: make(ld.Properties),
|
||||
Type: []string{as.TypePlace},
|
||||
}
|
||||
}
|
||||
|
||||
// Build finalises the Place.
|
||||
func (p *Place) Build() Place {
|
||||
return *p
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue