Skip to content

Commit

Permalink
Removed unused global var (#199)
Browse files Browse the repository at this point in the history
DefaultRemoteAddr seems to not be used (any longer?).
  • Loading branch information
muesli authored and elithrar committed Jul 20, 2019
1 parent 4355a99 commit 9c6b24e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sessions_test.go
Expand Up @@ -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 {
Expand Down

0 comments on commit 9c6b24e

Please sign in to comment.