Skip to content

Commit 87b152e

Browse files
committed
Fix typos
1 parent 7b7739c commit 87b152e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

neo4j/db/errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"strings"
2626
)
2727

28-
// Database server failed to fullfill request.
28+
// Database server failed to fulfill request.
2929
type Neo4jError struct {
3030
Code string
3131
Msg string

neo4j/internal/bolt/bolt4.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ type bolt4 struct {
8585
logId string
8686
serverVersion string
8787
tfirst int64 // Time that server started streaming
88-
pendingTx internalTx4 // Stashed away when tx started explcitly
88+
pendingTx internalTx4 // Stashed away when tx started explicitly
8989
hasPendingTx bool
9090
bookmark string // Last bookmark
9191
birthDate time.Time
@@ -170,7 +170,7 @@ func (b *bolt4) setError(err error, fatal bool) {
170170
}
171171

172172
func (b *bolt4) receiveMsg() interface{} {
173-
// Potentially dangerous to receive when an error has occured, could hang.
173+
// Potentially dangerous to receive when an error has occurred, could hang.
174174
// Important, a lot of code has been simplified relying on this check.
175175
if b.err != nil {
176176
return nil
@@ -634,7 +634,7 @@ func (b *bolt4) Next(streamHandle db.StreamHandle) (*db.Record, *db.Summary, err
634634
return nil, nil, err
635635
}
636636

637-
// Buffered stream or someone elses stream, doesn't matter...
637+
// Buffered stream or someone else's stream, doesn't matter...
638638
// Summary and error are considered buffered as well.
639639
buf, rec, sum, err := stream.bufferedNext()
640640
if buf {

0 commit comments

Comments
 (0)