package
0.0.0-20241212173216-745cb4b42230
Repository: https://github.com/ibiscum/go-programming-cookbook-second-edition.git
Documentation: pkg.go.dev

# Functions

GetNegotiator takes a request, and figures out the ContentType from the Content-Type header.
Handler gets a negotiator using the request, then renders a Payload.

# Structs

Negotiator wraps render and does some switching on ContentType.
Payload defines it's layout in xml and json.