Try this tutorial: http://go-database-sql.org/
On 20 September 2016 at 03:42, kumargv <vijaygir...@gmail.com> wrote: > import MySQLdb > > conn = MySQLdb.Connect( > host='localhost', user='user', > passwd='secret', db='test') > cursor = conn.cursor() > cursor.execute("SELECT this,that FROM foobar") > rows = cursor.fetchall() > cursor.close() > conn.close() > > > I am unable to Implement The above code in golang > Please suggest > > -- > 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. > -- 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.