You resurrected a 7 year old thread for this! :-) The first thing I suggest you do is to print the value of "err" and you may get back some information about why it failed. (Same for everywhere else that err != nil)
-- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/c6b33d67-df54-42ae-81f5-b43e5b521013n%40googlegroups.com.