summaryrefslogtreecommitdiff
path: root/credentials.go
diff options
context:
space:
mode:
Diffstat (limited to 'credentials.go')
-rw-r--r--credentials.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/credentials.go b/credentials.go
index c5ed055..b04bf98 100644
--- a/credentials.go
+++ b/credentials.go
@@ -11,9 +11,9 @@ type CredType uint
const (
CredTypeUserpassPlaintext CredType = C.GIT_CREDTYPE_USERPASS_PLAINTEXT
- CredTypeSshKey = C.GIT_CREDTYPE_SSH_KEY
- CredTypeSshCustom = C.GIT_CREDTYPE_SSH_CUSTOM
- CredTypeDefault = C.GIT_CREDTYPE_DEFAULT
+ CredTypeSshKey CredType = C.GIT_CREDTYPE_SSH_KEY
+ CredTypeSshCustom CredType = C.GIT_CREDTYPE_SSH_CUSTOM
+ CredTypeDefault CredType = C.GIT_CREDTYPE_DEFAULT
)
type Cred struct {