From 8b091919d42e6b73896db7aa2dc5371ac19e8182 Mon Sep 17 00:00:00 2001 From: Mark Ramotowski Date: Thu, 28 Nov 2024 09:28:14 +0000 Subject: [PATCH] fix: typo limited not limitted --- migrate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrate.go b/migrate.go index 44efe14e3..266cc04eb 100644 --- a/migrate.go +++ b/migrate.go @@ -526,7 +526,7 @@ func (m *Migrate) read(from int, to int, ret chan<- interface{}) { } } -// readUp reads up migrations from `from` limitted by `limit`. +// readUp reads up migrations from `from` limited by `limit`. // limit can be -1, implying no limit and reading until there are no more migrations. // Each migration is then written to the ret channel. // 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{}) { } } -// readDown reads down migrations from `from` limitted by `limit`. +// readDown reads down migrations from `from` limited by `limit`. // limit can be -1, implying no limit and reading until there are no more migrations. // Each migration is then written to the ret channel. // If an error occurs during reading, that error is written to the ret channel, too.