Skip to content

Commit

Permalink
Merge pull request go-fed#146 from komarov/patch-1
Browse files Browse the repository at this point in the history
cosmetic: fix some copy-pasted names
  • Loading branch information
cjslep authored Apr 26, 2021
2 parents d282a50 + 5e8c5c0 commit 2701024
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pub/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ type Database interface {
// at the specified IRI, for prepending new items.
//
// The library makes this call only after acquiring a lock first.
GetOutbox(c context.Context, outboxIRI *url.URL) (inbox vocab.ActivityStreamsOrderedCollectionPage, err error)
GetOutbox(c context.Context, outboxIRI *url.URL) (outbox vocab.ActivityStreamsOrderedCollectionPage, err error)
// SetOutbox saves the outbox value given from GetOutbox, with new items
// prepended. Note that the new items must not be added as independent
// database entries. Separate calls to Create will do that.
Expand All @@ -128,12 +128,12 @@ type Database interface {
// If modified, the library will then call Update.
//
// The library makes this call only after acquiring a lock first.
Following(c context.Context, actorIRI *url.URL) (followers vocab.ActivityStreamsCollection, err error)
Following(c context.Context, actorIRI *url.URL) (following vocab.ActivityStreamsCollection, err error)
// Liked obtains the Liked Collection for an actor with the
// given id.
//
// If modified, the library will then call Update.
//
// The library makes this call only after acquiring a lock first.
Liked(c context.Context, actorIRI *url.URL) (followers vocab.ActivityStreamsCollection, err error)
Liked(c context.Context, actorIRI *url.URL) (liked vocab.ActivityStreamsCollection, err error)
}

0 comments on commit 2701024

Please sign in to comment.