From 7b4e9a81a5d9abad33c8459d75918530884a1546 Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Tue, 26 Jan 2016 15:55:30 +0100 Subject: [PATCH] Cosmetic changes --- CHANGELOG.md | 2 +- context.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b5b6add..82f1bead 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ###Gin 1.0rc2 (...) -- [PERFORMANCE] Fast path for writting Content-Type. +- [PERFORMANCE] Fast path for writing Content-Type. - [PERFORMANCE] Much faster 404 routing - [PERFORMANCE] Allocation optimizations - [PERFORMANCE] Faster root tree lookup diff --git a/context.go b/context.go index 3621098e..c2aed745 100644 --- a/context.go +++ b/context.go @@ -412,9 +412,9 @@ func (c *Context) Stream(step func(w io.Writer) bool) { case <-clientGone: return default: - keepopen := step(w) + keepOpen := step(w) w.Flush() - if !keepopen { + if !keepOpen { return } }