mirror of
https://github.com/majd/ipatool
synced 2026-11-26 17:27:52 +08:00
- Move logging to command level. - Simplify and unify interfaces for `appstore` package. - Move sinf replication from "Download" API to "ReplicateSinf" API. - Handle retries and command specific logic in the command level. - Rename "Info" API to "AccountInfo".
15 lines
202 B
Go
15 lines
202 B
Go
package keychain
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
func (k *keychain) Remove(key string) error {
|
|
err := k.keyring.Remove(key)
|
|
if err != nil {
|
|
return fmt.Errorf("failed to remove item: %w", err)
|
|
}
|
|
|
|
return nil
|
|
}
|