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:
committed by
Vishal Rana
parent
561f15ccf1
commit
874d336c7d
@@ -15,6 +15,9 @@ code.
|
||||
*Example*
|
||||
|
||||
```go
|
||||
func(c echo.Context) error {
|
||||
return c.String(http.StatusOK, "Hello, World!")
|
||||
}
|
||||
```
|
||||
|
||||
## Send HTML (Reference to templates)
|
||||
|
Reference in New Issue
Block a user