package
0.0.8
Repository: https://github.com/jhu-idc/idc-golang.git
Documentation: pkg.go.dev

# Functions

GetResource returns the HTTP response and body from the supplied url.
GetResourceWithAuthn returns the HTTP response and body from the supplied url.
Unmarshal a JSONAPI response body and perform supplied assertions on the response.
Unmarshal a JSONAPI response body and assert that exactly one data element is present.

# Structs

Encapsulates a generic JSON API response.
Encapsulates the relevant components of a URL which executes a JSON API request against Drupal; the typical entrypoint into the JSON API for making queries and retrieving results.

# Type aliases

Encapsulates the Entity type and bundle of a Drupal resource.