Discover Packages
github.com/MyFitnessPro/utils
package
module
Version:
v0.0.0-...-1b37666
Opens a new window with list of versions in this module.
Published: Nov 25, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
handleHTTPError handles the HTTP error by returning a JSON response with the error message.
If the error is not nil, it returns true, otherwise false.
handleObjectError handles the object error by returning a JSON response with the error message.
If the object is nil, it returns true, otherwise false.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.