package
0.0.0-20241019100101-f84185f2ae0e
Repository: https://github.com/kathurimakimathi/gophercon-demo.git
Documentation: pkg.go.dev

# Functions

DecodeJSONToTargetStruct maps JSON from a HTTP request to a struct.
ErrorMap turns the supplied error into a map with "error" as the key.
WriteJSONResponse writes the content supplied via the `source` parameter to the supplied http ResponseWriter.