Skip to content

Releases: opensauceryafrica/goaxios

v0.0.6

08 Aug 17:36
Compare
Choose a tag to compare

Features

Changes

  • Set nil body in NewRequest and remove NopCloser re-assigment when ga.Body is nil

v0.0.5

20 May 11:45
Compare
Choose a tag to compare

Features

  • Download file to a location
  • Download file to a io.Writer instance

v0.0.4

19 May 22:57
Compare
Choose a tag to compare

Changes

Same as v0.0.3

v0.0.3

19 May 22:17
Compare
Choose a tag to compare

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 from map[string]interface{} to map[string]string

v0.0.2

22 Apr 06:41
Compare
Choose a tag to compare

Changes

  • Switch go.mod path to match GitHub username

v0.0.1 (early access)

21 Aug 09:24
Compare
Choose a tag to compare
v0.0.1 (early access) Pre-release
Pre-release

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 unmarshaled interface{} response body, and the error 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 the Headers field.