noopKeychain is a no-op KeychainAccess for tests that don't need keychain.
| 22 | |
| 23 | // noopKeychain is a no-op KeychainAccess for tests that don't need keychain. |
| 24 | type noopKeychain struct{} |
| 25 | |
| 26 | func (n *noopKeychain) Get(service, account string) (string, error) { return "", nil } |
| 27 | func (n *noopKeychain) Set(service, account, value string) error { return nil } |
nothing calls this directly
no outgoing calls
no test coverage detected