aboutsummaryrefslogtreecommitdiffstats
path: root/identity/interface.go
diff options
context:
space:
mode:
authorMichael Muré <michael.mure@consensys.net>2019-01-16 21:23:49 +0100
committerMichael Muré <batolettre@gmail.com>2019-03-01 22:35:37 +0100
commit06d9c6872655b85f1a47599add92d49d570e7b2e (patch)
treeeef3f140d726450d66e49b4225a527b1b93a62a5 /identity/interface.go
parentfeab9412dffe5772048aad29893c4cb01d566387 (diff)
downloadgit-bug-06d9c6872655b85f1a47599add92d49d570e7b2e.tar.gz
identity: implement the loading from git
Diffstat (limited to 'identity/interface.go')
-rw-r--r--identity/interface.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/identity/interface.go b/identity/interface.go
index 14287655..058e6ec6 100644
--- a/identity/interface.go
+++ b/identity/interface.go
@@ -1,6 +1,8 @@
package identity
-import "github.com/MichaelMure/git-bug/util/lamport"
+import (
+ "github.com/MichaelMure/git-bug/util/lamport"
+)
type Interface interface {
Name() string
@@ -8,7 +10,7 @@ type Interface interface {
Login() string
AvatarUrl() string
- // Login return the last version of the valid keys
+ // Keys return the last version of the valid keys
Keys() []Key
// ValidKeysAtTime return the set of keys valid at a given lamport time