aboutsummaryrefslogtreecommitdiffstats
path: root/cache/cached.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-12-19 18:09:59 +0100
committerMichael Muré <batolettre@gmail.com>2022-12-19 18:09:59 +0100
commitf2def3a9331080a02e57710a859d2aac608ed44c (patch)
tree2697224efb96110b65489877b5ba7d67d508eb5e /cache/cached.go
parent60d40d60e9f91247b61f541888f1469bff44f573 (diff)
downloadgit-bug-f2def3a9331080a02e57710a859d2aac608ed44c.tar.gz
WIP
Diffstat (limited to 'cache/cached.go')
-rw-r--r--cache/cached.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/cache/cached.go b/cache/cached.go
index 75ca58e5..74757356 100644
--- a/cache/cached.go
+++ b/cache/cached.go
@@ -4,7 +4,6 @@ import (
"sync"
"github.com/MichaelMure/git-bug/entities/bug"
- "github.com/MichaelMure/git-bug/entities/identity"
"github.com/MichaelMure/git-bug/entity"
"github.com/MichaelMure/git-bug/entity/dag"
"github.com/MichaelMure/git-bug/repository"
@@ -57,9 +56,9 @@ import (
// }
type CachedEntityBase[SnapT dag.Snapshot, OpT dag.Operation] struct {
- entityUpdated func(id entity.Id) error
- getUserIdentity func() (identity.Interface, error)
repo repository.ClockedRepo
+ entityUpdated func(id entity.Id) error
+ getUserIdentity getUserIdentityFunc
mu sync.RWMutex
entity dag.Interface[SnapT, OpT]