timoth-y/kicksware-api

View on GitHub
services/search/usecase/business/referenceSyncService.go

Summary

Maintainability
A
35 mins
Test Coverage

Method referenceSyncService.sync has 5 return statements (exceeds 4 allowed).
Open

func (s *referenceSyncService) sync(query interface{}, params *meta.RequestParams) (err error) {
    ctx, cancel := context.WithCancel(context.Background())
    defer cancel()

    refs := make([]*model.SneakerReference, 0)
Severity: Major
Found in services/search/usecase/business/referenceSyncService.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status