Releases: opensauceryafrica/goaxios
Releases · opensauceryafrica/goaxios
v0.0.6
v0.0.5
Features
- Download file to a location
- Download file to a io.Writer instance
v0.0.4
Changes
Same as v0.0.3
v0.0.3
Features
- Multipart form-data support via file path
- Multipart form-data support via in-memory file implementing io.ReadCloser
- Path parameters support
Changes
- Changed
Query
type frommap[string]interface{}
tomap[string]string
v0.0.2
Changes
- Switch
go.mod
path to match GitHub username
v0.0.1 (early access)
Features
- Send REST requests for all available REST HTTP methods
- Define query parameters easily using a map of string structure
- Define JSON request body using a map of interface to allow for complex structures
- Easily set request timeouts using
time.Duration(dur) * time.Second
- Optionally define response structs for custom marshaling
- Flexibility when you need it by easily accessing the
*http.Response
response object, the[]bytes
response body, the unmarshaledinterface{}
response body, and theerror
object on every request. - Easily pass along your bearer auth token via the
BearerToken
field or optionally define your custom headers as map of string using theHeaders
field.