Skip to content

Commit 6804e3e

Browse files
authored
Merge pull request #65 from hellofresh/patch/fix-typos
Fixed couple minor typos
2 parents 1cda65c + 1b9e498 commit 6804e3e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

aggregate/changed_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,5 +147,5 @@ func TestChanged_WithMetadata(t *testing.T) {
147147

148148
assert.Equal(t, expectedMetadata, msgWithTest.Metadata())
149149
assert.Equal(t, metadata.New(), msg.Metadata(), "Original metadata should not be changed")
150-
assert.NotEqual(t, msg, msgWithTest, "Origional changed message should not be changed")
150+
assert.NotEqual(t, msg, msgWithTest, "Original changed message should not be changed")
151151
}

docs/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ type BankAccountRepository struct {
156156
// NewBankAccountRepository create a new BankAccountRepository
157157
func NewBankAccountRepository(store goengine.EventStore, name goengine.StreamName) (
158158
*BankAccountRepository, error) {
159-
// Create a a aggregate.Type to allow the repository to reconstitute the BankAccount
159+
// Create an aggregate.Type to allow the repository to reconstitute the BankAccount
160160
bankAccountType, err := aggregate.NewType(BankAccountTypeName, func() aggregate.Root {
161161
return &BankAccount{}
162162
})

example/repository/bank_account_repository.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type BankAccountRepository struct {
1717

1818
// NewBankAccountRepository create a new BankAccountRepository
1919
func NewBankAccountRepository(store goengine.EventStore, name goengine.StreamName) (*BankAccountRepository, error) {
20-
// Create a a aggregate.Type to allow the repository to reconstitute the BankAccount
20+
// Create an aggregate.Type to allow the repository to reconstitute the BankAccount
2121
bankAccountType, err := aggregate.NewType(BankAccountTypeName, func() aggregate.Root { return &BankAccount{} })
2222
if err != nil {
2323
return nil, err

0 commit comments

Comments
 (0)