package
0.0.0-20230704194108-057e48f7badc
Repository: https://github.com/jecsand/go-rest-api-boilerplate.git
Documentation: pkg.go.dev

# Functions

CheckObjectID checks whether a hexID is null or now.
GenerateObjectID for index keying records of data.
HandleOptionsRequest handles incoming OPTIONS request.
RespondWithError returns JSON Error to Requested is Auth is bad.
SetResponseHeaders sets the response headers being sent back to the client.

# Structs

JsonErr structures a standard error to return.
JWTError is a struct that is used to contain a json encoded error message for any JWT related errors.