fix(go.sum): update ResolveSpec dependency to v1.0.87
CI / build-and-test (push) Failing after 1s
Release / release (push) Failing after 19m26s

This commit is contained in:
Hein
2026-06-23 13:17:16 +02:00
parent 0227912325
commit 1adf50e3db
2436 changed files with 1078758 additions and 114 deletions
+24
View File
@@ -0,0 +1,24 @@
package mssql
import (
"database/sql"
"database/sql/driver"
"github.com/shopspring/decimal"
)
type Money[D decimal.Decimal | decimal.NullDecimal] struct {
Decimal D
}
func (m Money[D]) Value() (driver.Value, error) {
valuer, _ := any(m.Decimal).(driver.Valuer)
return valuer.Value()
}
func (m *Money[D]) Scan(v any) error {
scanner, _ := any(&m.Decimal).(sql.Scanner)
return scanner.Scan(v)
}