Skip to content

Commit 329152e

Browse files
authored
Merge pull request #1196 from Rambatino/patch-1
fix: typo limited not limitted
2 parents a3b7633 + 8b09191 commit 329152e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

migrate.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ func (m *Migrate) read(from int, to int, ret chan<- interface{}) {
526526
}
527527
}
528528

529-
// readUp reads up migrations from `from` limitted by `limit`.
529+
// readUp reads up migrations from `from` limited by `limit`.
530530
// limit can be -1, implying no limit and reading until there are no more migrations.
531531
// Each migration is then written to the ret channel.
532532
// If an error occurs during reading, that error is written to the ret channel, too.
@@ -626,7 +626,7 @@ func (m *Migrate) readUp(from int, limit int, ret chan<- interface{}) {
626626
}
627627
}
628628

629-
// readDown reads down migrations from `from` limitted by `limit`.
629+
// readDown reads down migrations from `from` limited by `limit`.
630630
// limit can be -1, implying no limit and reading until there are no more migrations.
631631
// Each migration is then written to the ret channel.
632632
// If an error occurs during reading, that error is written to the ret channel, too.

0 commit comments

Comments
 (0)