package
0.0.0-20240208133358-b46fc268ba2c
Repository: https://github.com/diptanw/go-toolkit.git
Documentation: pkg.go.dev

# Functions

NewHref returns a new Href.
Read unmarshals the JSON-encoded data into v.
Write writes a JSON representation of v to response.

# Structs

DataResponse is a common struct for single response.
ErrorResponse is a common struct for error response.
Href is a URL.
LinksResponse is a common struct for embedding links response.
PageLinks is the HAL links for a paginated result.
PageResponse is a common struct for paged response.
ResourceLinks is the HAL links for a single result.