From 2c6cc6dce3a9cf60c70bcf11550ff224661652ec Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sat, 20 Jul 2019 07:49:46 +0200 Subject: [PATCH] Removed unused global var DefaultRemoteAddr seems to not be used (any longer?). --- sessions_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sessions_test.go b/sessions_test.go index a734f67..0b84fbc 100644 --- a/sessions_test.go +++ b/sessions_test.go @@ -20,10 +20,6 @@ func NewRecorder() *httptest.ResponseRecorder { } } -// DefaultRemoteAddr is the default remote address to return in RemoteAddr if -// an explicit DefaultRemoteAddr isn't set on ResponseRecorder. -const DefaultRemoteAddr = "1.2.3.4" - // ---------------------------------------------------------------------------- type FlashMessage struct {