mirror of
https://github.com/labstack/echo.git
synced 2025-11-06 08:59:21 +02:00
Removed prinftf from Context#String and Context#HTML, #154
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
@@ -8,7 +8,7 @@ menu:
|
||||
|
||||
### Handler path
|
||||
|
||||
`Context#Path()` returns the registered path for a handler, it can be used in the
|
||||
`Context#Path()` returns the registered path for the handler, it can be used in the
|
||||
middleware for logging purpose.
|
||||
|
||||
*Example*
|
||||
|
||||
@@ -89,7 +89,7 @@ Sends an XML HTTP response with status code.
|
||||
Context.HTML(code int, html string) error
|
||||
```
|
||||
|
||||
Sends an HTML HTTP response with status code.
|
||||
Sends an HTML response with status code.
|
||||
|
||||
### String
|
||||
|
||||
@@ -97,7 +97,7 @@ Sends an HTML HTTP response with status code.
|
||||
Context.String(code int, s string) error
|
||||
```
|
||||
|
||||
Sends a text/plain HTTP response with status code.
|
||||
Sends a string response with status code.
|
||||
|
||||
### File
|
||||
|
||||
|
||||
Reference in New Issue
Block a user