the new pkg.go.dev will incorporate the README.md file, so do not need doc.go

master
Charles Iliya Krempeaux 2023-08-14 05:53:52 -07:00
parent 7277a32d08
commit 635fba49cf
1 changed files with 0 additions and 33 deletions

33
doc.go
View File

@ -1,33 +0,0 @@
/*
Package errhttp provides types errors that make dealing with HTTP response errors easier.
Example
import "github.com/reiver/go-errhttp"
// ...
if err := something(); nil != err {
return errhttp.BadRequestWrap(err)
}
// ...
switch err.(type) {
case errhttp.BadRequest:
//@TODO
case errhttp.NotFound:
//@TODO
case errhttp.InternalServerError:
//@TODO
case errhttp.ClientError:
//@TODO
case errhttp.ServerError:
//@TODO
default:
//@TODO
}
*/
package errhttp