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