| 9 | ) |
| 10 | |
| 11 | type ApiRepository interface { |
| 12 | CreateApi(ctx context.Context, api *domain.Api) error |
| 13 | GetApiById(ctx context.Context, id int) (*domain.Api, error) |
| 14 | UpdateApi(ctx context.Context, api *domain.Api) error |
| 15 | DeleteApi(ctx context.Context, id int) error |
| 16 | ListApis(ctx context.Context, page, pageSize int) ([]*domain.Api, int, error) |
| 17 | } |
| 18 | |
| 19 | type apiRepository struct { |
| 20 | l *zap.Logger |
no outgoing calls
no test coverage detected