work around github.com/tmc/keyring compile error for windows

This commit is contained in:
Cory Bennett
2017-04-24 10:50:30 -07:00
parent d7bce222b6
commit 4d321ec202
3 changed files with 30 additions and 3 deletions
+13
View File
@@ -0,0 +1,13 @@
// +build !windows
package jira
import "github.com/tmc/keyring"
func keyringGet(user string) (string, error) {
return keyring.Get("go-jira", user)
}
func keyringSet(user, passwd string) error {
return keyring.Set("go-jira", user, passwd)
}