good morning!!!!

Skip to content
Snippets Groups Projects
  1. Oct 13, 2023
  2. Oct 10, 2023
  3. Mar 07, 2023
  4. Feb 25, 2023
  5. Jan 30, 2023
    • Gus Eggert's avatar
      Fix dial panic when ctx is nil · 7fd61364
      Gus Eggert authored
      When the ctx is nil, http.NewRequestWithContext returns a "net/http:
      nil Context" error and a nil request. In this case, the dial function
      panics because it assumes the req is never nil. This checks the
      returning error and returns it, so that callers get an error instead
      of a panic in that scenario.
      7fd61364
Loading