k-capehart / go-salesforce

Salesforce REST API client written in Go
https://pkg.go.dev/github.com/k-capehart/go-salesforce/v2
MIT License
30 stars 6 forks source link

Add Iterator for Job Result #65

Closed TuSKan closed 3 weeks ago

TuSKan commented 1 month ago

Adding a Iterator for getting Job Results per page

Using this interface

type IteratorJob interface {
    Next() bool
    Error() error
    Decode(any) error
}

The Decode function accepts a slice.

k-capehart commented 1 month ago

Hey @TuSKan , this is great! I'll review in the next week and let you know once it's released.

TuSKan commented 1 month ago

Hey @TuSKan , this is great! I'll review in the next week and let you know once it's released.

Thank you!

k-capehart commented 3 weeks ago

@TuSKan Merging this into a feature branch