I see. Do you have it open sourced somewhere? Or do you have some references on this subject for me to explore? thanks.
But ended up with a custom type implementing Scan & Value.
Check this out: https://groups.google.com/forum/#!topic/golang-nuts/aPJVwRQq...
Good luck :-)