Any ideas on how I can get a list of fields (not values) after executing
something like this?

Try these:

* https://golang.org/pkg/database/sql/#Rows.Columns
* https://golang.org/pkg/database/sql/#Rows.ColumnTypes

These methods give you information about the columns of a sql.Row.

Lutz


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