git-bug/identity/key.go

19 lines
269 B
Go
Raw Normal View History

2018-11-21 20:56:12 +03:00
package identity
type Key struct {
// The GPG fingerprint of the key
Fingerprint string `json:"fingerprint"`
PubKey string `json:"pub_key"`
}
func (k *Key) Validate() error {
// Todo
return nil
}
2020-01-24 02:30:13 +03:00
func (k *Key) Clone() *Key {
clone := *k
return &clone
}