Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorHandler ¶
func HelloWorld ¶
HelloWorld is a handler function of type gofr.Handler, it responds with a message
func MultipleErrorHandler ¶
MultipleErrorHandler returns multiple errors and also sets the statusCode to 400 if id is 1 else to 500
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.