type the CredentialKind values

Co-Authored-By: Amine <hilalyamine@gmail.com>
This commit is contained in:
Michael Muré 2019-12-09 16:43:30 +01:00 committed by GitHub
parent b92adfcb5f
commit 4c6d33e48e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,8 +22,8 @@ const (
type CredentialKind string
const (
KindToken = "token"
KindLoginPassword = "login-password"
KindToken CredentialKind = "token"
KindLoginPassword CredentialKind = "login-password"
)
var ErrCredentialNotExist = errors.New("credential doesn't exist")