We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 45bdf89 + f43ac1e commit 610e85fCopy full SHA for 610e85f
keyring.go
@@ -1,6 +1,6 @@
1
package keyring
2
3
-import "fmt"
+import "errors"
4
5
// provider set in the init function by the relevant os file e.g.:
6
// keyring_linux.go
@@ -9,7 +9,7 @@ var provider Keyring = fallbackServiceProvider{}
9
var (
10
// ErrNotFound is the expected error if the secret isn't found in the
11
// keyring.
12
- ErrNotFound = fmt.Errorf("secret not found in keyring")
+ ErrNotFound = errors.New("secret not found in keyring")
13
)
14
15
// Keyring provides a simple set/get interface for a keyring service.
0 commit comments