The highest tagged major version is
v5.
package
Version:
v1.18.1
Opens a new window with list of versions in this module.
Published: Jan 6, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DBErrorMessage returns an error message and status code appropriate to the error that has occurred.
Handler handles errors for fetching data from the database.
Generate a struct containing the HTTP error on the fly.
type HTTPError struct {
Error string `json:"error" example:"An ID specified in the query string was not a valid uint64"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.