We currently have a problem with parsing types from database/sql.Row.Scan. We can deal with it by implemeting our own Scanner or it would be nice if this package can have like the following?
func ParseDeviceType(deviceType string) (dt uasurfer.ParseDeviceType, err error) {
// Parsing work here
return
}
We currently have a problem with parsing types from database/sql.Row.Scan. We can deal with it by implemeting our own Scanner or it would be nice if this package can have like the following?