mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-01 02:38:28 +02:00
work around github.com/tmc/keyring compile error for windows
This commit is contained in:
+13
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user