I am trying to use the package as a library.
For that, I created embedded FS and wanted to use LoadMigrations.
However, in github.com/jackc/tern/v2 v2.3.2 that function expects to find migrations in the current "." folder whereas my FS requires a path.
//go:embed services/content/db/migrations/*.sql
var content embed.FS
Would you consider adding another Load function that takes a path parameter?
I am trying to use the package as a library.
For that, I created embedded FS and wanted to use LoadMigrations.
However, in
github.com/jackc/tern/v2 v2.3.2that function expects to find migrations in the current "." folder whereas my FS requires a path.Would you consider adding another Load function that takes a path parameter?