Fixed a couple of typos

This commit is contained in:
maknahar 2017-08-14 17:55:33 +05:30
parent 2570d5866d
commit 81c0a17f20
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ type Migrate struct {
// GracefulStop accepts `true` and will stop executing migrations
// as soon as possible at a safe break point, so that the database
// is not corrpupted.
// is not corrupted.
GracefulStop chan bool
isGracefulStop bool
@ -300,7 +300,7 @@ func (m *Migrate) Down() error {
return m.unlockErr(m.runMigrations(ret))
}
// Drop deletes everyting in the database.
// Drop deletes everything in the database.
func (m *Migrate) Drop() error {
if err := m.lock(); err != nil {
return err