MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / GetAPIKey

Method GetAPIKey

database/mocks/repo_mocks.go:586–589  ·  view source on GitHub ↗
(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

584}
585
586func (m *MockDataSource) GetAPIKey(ctx context.Context, id string) (*model.APIKey, error) {
587 args := m.Called(ctx, id)
588 return args.Get(0).(*model.APIKey), args.Error(1)
589}
590
591func (m *MockDataSource) UpdateLastUsed(ctx context.Context, id string) error {
592 args := m.Called(ctx, id)

Callers

nothing calls this directly

Calls 2

GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected