Skip to content

Added contexts#10

Open
vertoforce wants to merge 3 commits intojmank88:masterfrom
vertoforce:ctx
Open

Added contexts#10
vertoforce wants to merge 3 commits intojmank88:masterfrom
vertoforce:ctx

Conversation

@vertoforce
Copy link

Contexts are super useful to cancel functions and http requests. At the very least I added a *http.Client to the zillow struct so a caller can at least specify timeouts.

@vertoforce vertoforce changed the title Addex contexts Added contexts Dec 2, 2020
@jmank88
Copy link
Owner

jmank88 commented Dec 20, 2020

I like this idea, but I want to be careful about breaking the API and pulling in extra dependencies. I cut a v0.0.1 release so we can break the API, and I opened a PR against this branch with some other ideas: vertoforce#1
If you approve, you can go ahead and merge and then we can see it all together here and should have a build/test check as well.

less dependencies; improved CI; more flexible New* func
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants