Can any one suggest any another approach to deal with initializing a database outside init function in my server.go program ?
I am using a MySQL in my program and it is my requirement to initialize and connect and send the handler to the controllers.