The web server is panicing on every request because of the DB variable being nil.
I've added a call to models.OpenDatabase() in SetDockyardMacaron function to prevent that as a quick fix. Not sure where you would wish to put that. There, or in a init function.
Hello,
The web server is panicing on every request because of the DB variable being nil.
I've added a call to models.OpenDatabase() in SetDockyardMacaron function to prevent that as a quick fix. Not sure where you would wish to put that. There, or in a init function.
Regards.