Skip to content

Commit

Permalink
Merge pull request #75 from erdaltsksn-forks/issue/59
Browse files Browse the repository at this point in the history
redo: Use errors.New()
  • Loading branch information
mikkeloscar authored Jul 13, 2022
2 parents 45bdf89 + f43ac1e commit 610e85f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keyring.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package keyring

import "fmt"
import "errors"

// provider set in the init function by the relevant os file e.g.:
// keyring_linux.go
Expand All @@ -9,7 +9,7 @@ var provider Keyring = fallbackServiceProvider{}
var (
// ErrNotFound is the expected error if the secret isn't found in the
// keyring.
ErrNotFound = fmt.Errorf("secret not found in keyring")
ErrNotFound = errors.New("secret not found in keyring")
)

// Keyring provides a simple set/get interface for a keyring service.
Expand Down

0 comments on commit 610e85f

Please sign in to comment.