You're doing it wrong.

You want: https://godoc.org/bitbucket.org/kardianos/table

On Monday, April 3, 2017 at 5:51:04 AM UTC-7, JuciƊ Andrade wrote:
>
> I built a little command line utility for running arbitrary sql queries. 
> You use it like:
>
>     runQuery "select * from myTable"
>
>
> Previously I have build similar tools in C and Java and I don't remember 
> needing to code a hack to handle a variable number of columns.
>
>     https://play.golang.org/p/6WOu1SzgcZ
>
> Am I missing something here? How can I iterate inside each record, 
> converting values to strings?
>
>
>

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