mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
Derive visibility fixes (#271)
* use pub public const * don't error on no summary * move extract visibility to separate function * extract visibility test * add addressable interface
This commit is contained in:
@@ -133,6 +133,12 @@ type Announceable interface {
|
||||
WithCC
|
||||
}
|
||||
|
||||
// Addressable represents the minimum interface for an addressed activity.
|
||||
type Addressable interface {
|
||||
WithTo
|
||||
WithCC
|
||||
}
|
||||
|
||||
// CollectionPageable represents the minimum interface for an activitystreams 'CollectionPage' object.
|
||||
type CollectionPageable interface {
|
||||
WithJSONLDId
|
||||
|
Reference in New Issue
Block a user