Skip to content

Releases: mypricehealth/sling

mypricehealth release

19 Nov 21:47
Compare
Choose a tag to compare

Fork release

This release is the first release of the mypricehealth fork of sling. It enables a nice Do method API packages with a Context, access to all http methods, and flexibility for getting data into the query string or body.

mypricehealth Exclusive Features

  • The ability to set a body form with url.Values in addition to using a struct and go-query. While I love the goquery mechanism, there are times, I just want to go straight to url.Values directly.
  • The ability to set all headers or add to all headers at once. Sometimes it's just easier to pass it all in at once
  • The ability to set the http method directly
  • The ability to add queryString parameters using url.Values in addition to goquery
  • The ability to run the final request with a Context

mypricehealth Bug Fixes

  • Return an error string if no error struct is supplied and an error is returned by the http request (the error is swallowed in the dghubble package)