From f9ec2f89f2265bc1371a6c62359de9816534fa6b Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 12 Jun 2019 21:41:28 +0200 Subject: Add golangci (#6418) --- modules/session/virtual.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/session/virtual.go') diff --git a/modules/session/virtual.go b/modules/session/virtual.go index b90f03417a..b8ddd2f71b 100644 --- a/modules/session/virtual.go +++ b/modules/session/virtual.go @@ -21,10 +21,8 @@ import ( // VirtualSessionProvider represents a shadowed session provider implementation. type VirtualSessionProvider struct { - lock sync.RWMutex - maxlifetime int64 - rootPath string - provider session.Provider + lock sync.RWMutex + provider session.Provider } // Init initializes the cookie session provider with given root path. -- cgit v1.2.3