Open juliankoehn opened 4 years ago
Stripped the Scan method a 'lil bit. As i had problems to Scan with sqlx library. All tests pass.
=== RUN TestScan --- PASS: TestScan (0.00s) === RUN TestValue --- PASS: TestValue (0.00s)
UnmarshalText(), UnmarshalBinary()are no longer required for Scan.
UnmarshalText()
UnmarshalBinary()
TestSqlScanner() from ksuid_test.go is still implemented and PASS
TestSqlScanner()
ksuid_test.go
--- PASS: TestSqlScanner (0.00s) --- PASS: TestSqlScanner/<nil> (0.00s) --- PASS: TestSqlScanner/string (0.00s) --- PASS: TestSqlScanner/[]uint8 (0.00s)
Same for TestSqlValuer() --- PASS: TestSqlValuer (0.00s)
TestSqlValuer()
--- PASS: TestSqlValuer (0.00s)
@achille-roussel going to leave this one to you :) LMK if you want anything from me on it.
Stripped the Scan method a 'lil bit. As i had problems to Scan with sqlx library. All tests pass.
UnmarshalText()
,UnmarshalBinary()
are no longer required for Scan.TestSqlScanner()
fromksuid_test.go
is still implemented and PASSSame for
TestSqlValuer()
--- PASS: TestSqlValuer (0.00s)