In a nutshell, Scan() internally performs several nested type switches
based on the type of the Scan destination and what is received from the
database (in other words, the driver).
As to why the two scans returned values of different types, more
information is needed. But since the queries were similar and the dest
were the same, you could start by looking at what is stored in the
database and what's the int64/[]byte returned.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.