Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverpool committed Oct 10, 2023
1 parent c8e1447 commit b5a2102
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

// NewProvider returns a new goose Provider.
//
// storageFactory are available in the [storage] package (e.g. storage.Sqlite3).
// storageFactory implementations are available in the [storage] package (e.g. storage.Sqlite3).
//
// fsys is the filesystem used to read the migration files. Most users will want to use
// os.DirFS("path/to/migrations") to read migrations from the local filesystem. However, it is
Expand Down
6 changes: 0 additions & 6 deletions storage/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ func (q queries) DeleteVersion(ctx context.Context, db state.DB, version int64)
return err
}

// DeleteVersionNoTx implements Store.
func (q queries) DeleteVersionNoTx(ctx context.Context, db state.DB, version int64) error {
_, err := db.ExecContext(ctx, q.deleteVersion, version)
return err
}

// GetMigration implements Store.
func (q queries) GetMigration(ctx context.Context, db state.DB, version int64) (*state.GetMigrationResult, error) {
var timestamp time.Time
Expand Down

0 comments on commit b5a2102

Please sign in to comment.