diff options
author | Michael Muré <batolettre@gmail.com> | 2019-01-20 15:41:27 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-03-01 22:40:22 +0100 |
commit | 14b240af8fef269d2c1d5dde2fff192b656c50f3 (patch) | |
tree | 4f6ea032789d811cd019bbb6c190c99a650084b2 /identity/key.go | |
parent | d10c76469d40f13e27739fd363145e89bf74c3e0 (diff) | |
download | git-bug-14b240af8fef269d2c1d5dde2fff192b656c50f3.tar.gz |
identity: more cleaning and fixes after a code review
Diffstat (limited to 'identity/key.go')
-rw-r--r-- | identity/key.go | 6 |
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 +} |