# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
handles authentication (login, register, and user related stuff) route authentication is handled by the auth middleware.
# Structs
generic response structure for those responses that only need to give user a message for success operation.
wrapper for slice returns as ApiFunc for some reason is unable to infer slice return types is actually a workaround, go isn't as flexible as ts :((.
# Type aliases
the generic type that all my api controllers (or handlers) will adhere to, returning structs/objects if no errors and errors if any this type will be taken by the util function and wrapped to create a http handler that go router wants incase response writer is to be used, since provided by go's http handler so why not just take in.