Get pressly/goose migrations without transitive dependencies.
You can continue using the goose CLI for manual intervention but consider using loosey in your app.
This is not a drop-in replacement that can be adopted by changing only the import path. You will need to change the migration runner call site slightly, but existing SQL migrations should work as-is.
Tested against:
- PostgreSQL: 16, 17, 18
- MariaDB: 11.4, 11.7
- SQLite3: modernc
- LibSQL
(see integration tests for details)
go generate requires sqlc and counterfeiter be your path.