1
0
mirror of https://github.com/labstack/echo.git synced 2025-11-06 08:59:21 +02:00

Context.File signature changed

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2015-10-13 07:09:53 -07:00
parent 8f5cb6428b
commit 850bc503b0
3 changed files with 5 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ Sends a text/plain HTTP response with status code.
### File
```go
Context.File(name, path string, attachment bool) error
Context.File(path, name string, attachment bool) error
```
File sends a response with the content of the file. If `attachment` is set