So I am using Fiber to build a Rest API and I was wondering on whether or not to run each handler function in a goroutine. For example, say I have the following routes:
router.Get("/get", getMockData)
router.Post("/create", createMockData)
router.Put("/update", updateMockData)
router.Delete("/delete", deleteMockData)
Should I change then to the following:
// I know this isn't syntactically correct but this is just an example.
router.Get("/get", go getMockData)
router.Post("/create", go createMockData)
router.Put("/update", go updateMockData)
router.Delete("/delete", go deleteMockData)
Should I do this? I have looked at this question and it says no but its targeted towards the net/http package so it doesn't really apply.
Thank you!