aboutsummaryrefslogtreecommitdiffstats
path: root/cache/bug_cache.go
diff options
context:
space:
mode:
authorvince <vincetiu8@gmail.com>2020-08-13 20:26:41 +0800
committervince <vincetiu8@gmail.com>2020-08-13 20:26:41 +0800
commitc215861e6fe1e696e6515fdade3de1e53a1052f1 (patch)
tree68de9378150ee95f3187c7eaf50e285da6a8d73d /cache/bug_cache.go
parente9a7725ca4e1fdce33501cb1dfa1a17e9c7e6811 (diff)
downloadgit-bug-c215861e6fe1e696e6515fdade3de1e53a1052f1.tar.gz
Remove pointer and unnecessary code
Diffstat (limited to 'cache/bug_cache.go')
-rw-r--r--cache/bug_cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/bug_cache.go b/cache/bug_cache.go
index 01d93593..775af6d1 100644
--- a/cache/bug_cache.go
+++ b/cache/bug_cache.go
@@ -19,7 +19,7 @@ var ErrNoMatchingOp = fmt.Errorf("no matching operation found")
// 3. Deal with concurrency.
type BugCache struct {
repoCache *RepoCache
- mu *sync.RWMutex
+ mu sync.RWMutex
bug *bug.WithSnapshot
}