Then why this method is not works as expected using github.com/go-sql-driver/mysql for MySQL.
It would have helped me if you'd have mentioned MySQL in your question. Your question was incomplete. Please take alook at
http://www.catb.org/esr/faqs/smart-questions.html
Take a look at this: https://play.golang.org/p/tCLKxiXPZ5e
I can reproduce this problem for MySQL. Sadly I don't find any issue about NextResultSet always returning false:
https://github.com/go-sql-driver/mysql/search?q=NextResultSet&type=Issues 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.