diff options
author | Michael Muré <batolettre@gmail.com> | 2019-12-09 16:43:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-09 16:43:30 +0100 |
commit | 4c6d33e48eacaeae986d34141ad32e8fcbf958d6 (patch) | |
tree | bfcc1552efeeeba529588f9407b0a7b2944bdb87 | |
parent | b92adfcb5f79f2b32c3dafb0fc3e7f1b753b6197 (diff) | |
download | git-bug-4c6d33e48eacaeae986d34141ad32e8fcbf958d6.tar.gz |
type the CredentialKind values
Co-Authored-By: Amine <hilalyamine@gmail.com>
-rw-r--r-- | bridge/core/auth/credential.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/core/auth/credential.go b/bridge/core/auth/credential.go index 7aad7552..9504fd70 100644 --- a/bridge/core/auth/credential.go +++ b/bridge/core/auth/credential.go @@ -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") |