diff options
author | Sandro Santilli <strk@kbt.io> | 2017-03-21 01:55:00 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-03-21 08:55:00 +0800 |
commit | f73e7344111645b836e767bbf80b96834651805f (patch) | |
tree | 0315cb59a9b56bcb594d2cd4dccf385557e834ba /modules/auth/openid/discovery_cache.go | |
parent | 888dee3b5f931062ea97e57130b26d1943e5173e (diff) | |
download | gitea-f73e7344111645b836e767bbf80b96834651805f.tar.gz gitea-f73e7344111645b836e767bbf80b96834651805f.zip |
Run "make fmt" with go-1.6 (#1333)
Diffstat (limited to 'modules/auth/openid/discovery_cache.go')
-rw-r--r-- | modules/auth/openid/discovery_cache.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/auth/openid/discovery_cache.go b/modules/auth/openid/discovery_cache.go index cf9f5ae70c..68cd7a8756 100644 --- a/modules/auth/openid/discovery_cache.go +++ b/modules/auth/openid/discovery_cache.go @@ -18,7 +18,7 @@ type timedDiscoveredInfo struct { type timedDiscoveryCache struct { cache map[string]timedDiscoveredInfo - ttl time.Duration + ttl time.Duration mutex *sync.Mutex } @@ -56,4 +56,3 @@ func (s *timedDiscoveryCache) Get(id string) openid.DiscoveredInfo { } return nil } - |