Skip to content

Commit

Permalink
Merge pull request #86 from conneroisu/devit
Browse files Browse the repository at this point in the history
devits
  • Loading branch information
conneroisu authored Aug 8, 2024
2 parents d5d1abc + cdac4ce commit 1b90093
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions slices.go
Original file line number Diff line number Diff line change
Expand Up @@ -663,9 +663,13 @@ func NewPl[T any](doc *goquery.Document) ([]T, error) {
err,
)
}
errCh <- nil
}
}(i)
}
for i := 0; i < dType.NumField(); i++ {
<-errCh
}
if len(results) < 1 {
return nil, fmt.Errorf("no data found")
}
Expand Down

0 comments on commit 1b90093

Please sign in to comment.