I'm also not sure what you are trying to do.  However, I think I can see a bug 
in your code.

First you run a database query to get a list of values from a field called 
data.  This could produce up to 10 values.

Next you have a loop which runs through the values and discards them.  At the 
end of the loop, you have the data field from the last record, and you have 
thrown away all the others.  Is this what you want?

Finally, you unzip the last data field.

So if your table contains 100 records, you will get 10 of them, throw away the 
first 9 records and unzip the data from the last one.

I hope this helps.

-- 
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.

Reply via email to