I was trying to create a custom datatype for GORM.
It will have a Scan() and Value() method of course.
Somehow, my Scan() method never called.
Please read issue: https://github.com/go-gorm/gorm/issues/6138 for more detail.
Any explanation for this one?
Thanks in advance!
GitHub
Description I have a custom data type and its Scanner method that will check for any data input // TimeString type type TimeString string func (t *TimeString) Scan(value interface{}) error { fmt.Pr...