From e0c9f3d5ff503ba487e3d4ef4ba3cb5d7fa7587e Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 13 Oct 2016 17:39:06 +0300 Subject: [PATCH] typo fixes in comments --- server.go | 2 +- server_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server.go b/server.go index 359bb98..30609cc 100644 --- a/server.go +++ b/server.go @@ -500,7 +500,7 @@ type connTLSer interface { // tls.Conn is an encrypted connection (aka SSL, HTTPS). func (ctx *RequestCtx) IsTLS() bool { // cast to (connTLSer) instead of (*tls.Conn), since it catches - // cases with overriden tls.Conn such as: + // cases with overridden tls.Conn such as: // // type customConn struct { // *tls.Conn diff --git a/server_test.go b/server_test.go index 01c832f..0de5339 100644 --- a/server_test.go +++ b/server_test.go @@ -32,7 +32,7 @@ func TestRequestCtxIsTLS(t *testing.T) { t.Fatalf("IsTLS must return false") } - // overriden tls.Conn + // overridden tls.Conn ctx.c = &struct { *tls.Conn fooBar bool