23 lines
484 B
Go
23 lines
484 B
Go
package translators
|
|
|
|
import (
|
|
"context"
|
|
"time"
|
|
)
|
|
|
|
// Announce is boost
|
|
|
|
type activityAnnounceOut struct {
|
|
Context any `json:"@context,omitempty"`
|
|
Id string
|
|
Type string // Always "Announce"
|
|
Actor string // The one doing the boost
|
|
Published time.Time
|
|
To []string
|
|
CC []string
|
|
Object string // Link to object being boosted
|
|
}
|
|
|
|
func AnnounceFromStorage(ctx context.Context, id string) (*activityAnnounceOut, error) {
|
|
panic("not implemented")
|
|
}
|