Merge pull request #133 from sevki/patch-1

NewId => NewID
This commit is contained in:
Cory J Slep 2020-07-05 21:22:45 +02:00 committed by GitHub
commit 415c3275ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -108,13 +108,13 @@ type Database interface {
//
// The library makes this call only after acquiring a lock first.
SetOutbox(c context.Context, outbox vocab.ActivityStreamsOrderedCollectionPage) error
// NewId creates a new IRI id for the provided activity or object. The
// NewID creates a new IRI id for the provided activity or object. The
// implementation does not need to set the 'id' property and simply
// needs to determine the value.
//
// The go-fed library will handle setting the 'id' property on the
// activity or object provided with the value returned.
NewId(c context.Context, t vocab.Type) (id *url.URL, err error)
NewID(c context.Context, t vocab.Type) (id *url.URL, err error)
// Followers obtains the Followers Collection for an actor with the
// given id.
//