Documentation ¶
Overview ¶
Package guard panics when error occurs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailOnError ¶
FailOnError panics when error occurs.
func HandleErrorWithInternalServerError ¶
func HandleErrorWithInternalServerError(w http.ResponseWriter, r *http.Request, err error, message string)
FailOnError panics when error occurs.
func HandleErrorWithNotFound ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.