mirror of
https://github.com/Fishwaldo/huma.git
synced 2025-03-15 11:21:42 +00:00
chore: Update examples/echo/echo.go
Co-authored-by: Marcin Dobosz <marcind@users.noreply.github.com>
This commit is contained in:
parent
5a6a1c93d2
commit
40d2e608ef
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ func main() {
|
|||
v = "Hello, " + v
|
||||
}
|
||||
|
||||
ctx.Header().Set("Etag", `W/"foo"`)
|
||||
ctx.Header().Set("ETag", `W/"foo"`)
|
||||
ctx.WriteModel(http.StatusOK, EchoResponse{
|
||||
Value: v,
|
||||
Foo: input.Foo,
|
||||
|
|
Loading…
Add table
Reference in a new issue