You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I implemented Scanner for a struct called PrepTime in which embeds time.Duration and type of the related column is bigint (also tested with integer) but the returning src is []uint8 instead of int64 and I must first convert the []uint8 (byte) to string then convert it to int64 using strconv.ParseInt(string(src.([]uint8), 10, 64)