func (t *Tx) Commit() (err error) {
	_, err = retryFunc("tx_commit", func() (interface{}, error) {
		return nil, t.Tx.Commit()
	})
	return
}
Commit commits the transaction.
package mssqlx
import (
	"context"
	"database/sql"
)
type Tx struct {
	*sql.Tx
}