chore: Update examples/echo/echo.go

Co-authored-by: Marcin Dobosz <marcind@users.noreply.github.com>
This commit is contained in:
Daniel G. Taylor 2020-09-15 21:43:40 -07:00 committed by GitHub
parent 5a6a1c93d2
commit 40d2e608ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,