I have an init func in a package. Inside the init function, I have a database initialization which returns error. How can I handle that error failure incase if it fails in the init function.
Thank you Nikhilesh -- 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/5600c2e2-9c6d-4a24-af98-ddf52845fe24n%40googlegroups.com.