Skip to content

Commit 874d336

Browse files
gecko655vishr
authored andcommitted
Added an example of String response (#775)
1 parent 561f15c commit 874d336

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

website/content/guide/response.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ code.
1515
*Example*
1616

1717
```go
18+
func(c echo.Context) error {
19+
return c.String(http.StatusOK, "Hello, World!")
20+
}
1821
```
1922

2023
## Send HTML (Reference to templates)

0 commit comments

Comments
 (0)