package
0.0.0-20241222002135-c9d1db9af773
Repository: https://github.com/alphaone1/midgard.git
Documentation: pkg.go.dev
# Functions
DummyHandler is a handler used for internal testing.
GetOrCreateID generates a new uuid, if the given id is empty, otherwise the given id is returned.
IntroCheck is used to facilitate the introductory check in each handler for the basic requirements.
MapKeys gets the keys of the given map and saves them into a slice.
Must exits the program if the given pair of function return and error contains an non-nil error value, otherwise the function return value val is returned.
WriteState sets the specified HTTP response code and writes the code specific text as body.