I'm wondering if it's possible to respond to a http request using the std http package and still keep the go routine alive ( e.g. run a task intensive task ). The use case is that I need to receive a http request and then call back that service after few minutes
Just spawn a new goroutine from your handler and keep that alive as long as you like.