Open Bakarseck opened 2 weeks ago
Hello @Bakarseck,
Could you please clarify the main purposes of the jsonDB.go file? Regarding the middleware and CORS, could you use more explicit names? For the middleware, instead of using a Use method as suggested by the framework, wouldn't it be more appropriate to add them directly to the modules? A global middleware could be placed in the main module during implementation. From a code architecture perspective, it might also be worth considering adding a middleware file and implementing the structure there. Could you also explain why you changed the params type to map[string]interface{}?
params
tomap[string]interface{}
for better parameter handling.