Skip to content

Commit

Permalink
Update migrator.go (#100)
Browse files Browse the repository at this point in the history
This definition of err is never used.
  • Loading branch information
manas-rust committed Dec 15, 2022
1 parent 4a51687 commit 7746e77
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion migrator.go
Expand Up @@ -173,7 +173,11 @@ func (m Migrator) ColumnTypes(value interface{}) ([]gorm.ColumnType, error) {
}

rawColumnTypes, err := rows.ColumnTypes()


if err != nil {
return err
}

if err := rows.Close(); err != nil {
return err
}
Expand Down

0 comments on commit 7746e77

Please sign in to comment.