mirror of
https://github.com/labstack/echo.git
synced 2025-07-15 01:34:53 +02:00
@ -8,8 +8,8 @@ import (
|
||||
)
|
||||
|
||||
// Handler
|
||||
func hello(c *echo.Context) {
|
||||
c.String(http.StatusOK, "Hello, World!\n")
|
||||
func hello(c *echo.Context) *echo.HTTPError {
|
||||
return c.String(http.StatusOK, "Hello, World!\n")
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
Reference in New Issue
Block a user