Closed dotzero closed 4 years ago
Any reason why this is not merged?
@guregu Is there any chance that you could merge this pr?
I appreciate this PR and see how it could be useful, but I'm limiting the scope of this package to types supported by driver.Value
. Other types are not "natively" supported by the sql package and therefore makes this equivalent to a custom text marshaler, which is not what I intended this package to be. If this type gets added to driver.Value
, I'd be happy to support it.
Feel free to fork this package and add support for whatever you'd like.
Implement
null.Timestamp
that use custom marshaler to UnixTimestamp and unmarshaler from UnixTimestamp.