News for hackers. Stuff that matters.
Re:Go’ing Insane: Endless Error Handling by lu4p on Tuesday September 14, 2021 @06:29AM (#28522647)
No you should use errors.Is(err, http.ErrHandlerTimeout) instead of simple equality.
Re:Go’ing Insane: Endless Error Handling by shaan7 on Tuesday September 14, 2021 @03:28PM (#28529794)
Thanks (and to mseepgood as well). TIL :)