diff options
author | Michael Muré <batolettre@gmail.com> | 2020-09-16 16:22:02 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-10-04 20:39:10 +0200 |
commit | ca720f165cb286d4372ad48595e532a2423f2f07 (patch) | |
tree | 6e1496a1a6603abbd473cc0060a5acebc763a68b /cache/identity_cache.go | |
parent | d56ce3d5d9f5ef74201a8ee7c25be4820d435b47 (diff) | |
download | git-bug-ca720f165cb286d4372ad48595e532a2423f2f07.tar.gz |
cache,bug,identity: structural change
- bug doesn't commit identities anymore, only make sure they are commit
- cache use an IdentityResolver to load bugs with identities from the cache (deps injection)
- IdentityCache now are identity.Interface
Diffstat (limited to 'cache/identity_cache.go')
-rw-r--r-- | cache/identity_cache.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cache/identity_cache.go b/cache/identity_cache.go index eb5ee183..25e273b9 100644 --- a/cache/identity_cache.go +++ b/cache/identity_cache.go @@ -4,6 +4,8 @@ import ( "github.com/MichaelMure/git-bug/identity" ) +var _ identity.Interface = &IdentityCache{} + // IdentityCache is a wrapper around an Identity for caching. type IdentityCache struct { *identity.Identity |