I have a few questions:
- Does http.ListenAndServe
already use/spawn goroutines in the background to serve each request?
- If I have some in memory database that I use for stuffs and will be accessed/modified by requests coming in (the requests, of course is handled by http.ListenAndServe
), do I need to implement mutex to avoid race condition?