aboutsummaryrefslogtreecommitdiffstats
path: root/identity/key.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-01-20 15:41:27 +0100
committerMichael Muré <batolettre@gmail.com>2019-03-01 22:40:22 +0100
commit14b240af8fef269d2c1d5dde2fff192b656c50f3 (patch)
tree4f6ea032789d811cd019bbb6c190c99a650084b2 /identity/key.go
parentd10c76469d40f13e27739fd363145e89bf74c3e0 (diff)
downloadgit-bug-14b240af8fef269d2c1d5dde2fff192b656c50f3.tar.gz
identity: more cleaning and fixes after a code review
Diffstat (limited to 'identity/key.go')
-rw-r--r--identity/key.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/identity/key.go b/identity/key.go
index c498ec09..90edfb60 100644
--- a/identity/key.go
+++ b/identity/key.go
@@ -5,3 +5,9 @@ type Key struct {
Fingerprint string `json:"fingerprint"`
PubKey string `json:"pub_key"`
}
+
+func (k *Key) Validate() error {
+ // Todo
+
+ return nil
+}