Releases: mypricehealth/sling
Releases · mypricehealth/sling
mypricehealth release
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 andgo-query
. While I love thegoquery
mechanism, there are times, I just want to go straight tourl.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 togoquery
- 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)