MCPcopy
hub / github.com/larksuite/cli / noopKeychain

Struct noopKeychain

internal/cmdutil/testing.go:24–24  ·  view source on GitHub ↗

noopKeychain is a no-op KeychainAccess for tests that don't need keychain.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected