Follow-up from "Add Go guidelines to developer docs"
The following discussion from gitlab-ce!24661 should be addressed:
-
@fcatteau started a discussion: (+1 comment) What about using
context.WithTimeoutinstead ofcontext.Background? They are cases where timeouts don't make sense, but it's worth considering it. Also, developers should keep in mind thatnet/http.Clienthas no timeout by default.