You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update all of your imports. e.g. github.com/golang-migrate/migrate becomes github.com/golang-migrate/migrate/v3
A command like this should work: sed -i -e 's@"github.com/golang-migrate/migrate@"github.com/golang-migrate/migrate/v3@g' $(git grep -l '"github.com/golang-migrate/migrate')
Note: BSD sed and GNU sed treat the -i option differently. Please consult your sedman page before running the command above.
Pin migrate to v3.5.2 (or later) by running: go get -u github.com/golang-migrate/migrate
Changes
Stop leaking *sql.DB from the mysql and postgres drivers thanks to @Kay-Zee (#98)