1
0
mirror of https://github.com/labstack/echo.git synced 2025-09-16 09:16:29 +02:00

Added an example of String response (#775)

This commit is contained in:
Yamamori Akihiro
2016-12-16 01:30:54 +09:00
committed by Vishal Rana
parent 561f15ccf1
commit 874d336c7d

View File

@@ -15,6 +15,9 @@ code.
*Example*
```go
func(c echo.Context) error {
return c.String(http.StatusOK, "Hello, World!")
}
```
## Send HTML (Reference to templates)