feat: initial commit
This commit is contained in:
commit
a161b86c9a
705 changed files with 288162 additions and 0 deletions
14
vendor/sourcery.dny.nu/pana/image.go
vendored
Normal file
14
vendor/sourcery.dny.nu/pana/image.go
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package pana
|
||||
|
||||
import (
|
||||
as "sourcery.dny.nu/pana/vocab/w3/activitystreams"
|
||||
)
|
||||
|
||||
// Image is the ActivityStreams Image type.
|
||||
//
|
||||
// It shares all properties with [Document].
|
||||
type Image = Document
|
||||
|
||||
func NewImage() *Image {
|
||||
return (*Image)(NewDocument().SetType(as.TypeImage))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue