NewAPIKeyRepo creates a new apiKey repository
(data *data.Data)
| 35 | |
| 36 | // NewAPIKeyRepo creates a new apiKey repository |
| 37 | func NewAPIKeyRepo(data *data.Data) apikey.APIKeyRepo { |
| 38 | return &apiKeyRepo{ |
| 39 | data: data, |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | func (ar *apiKeyRepo) GetAPIKeyList(ctx context.Context) (keys []*entity.APIKey, err error) { |
| 44 | keys = make([]*entity.APIKey, 0) |
no outgoing calls
no test coverage detected