package
0.0.0-20210512205754-1e80c8a3e024
Repository: https://github.com/evt/rest-api-example.git
Documentation: pkg.go.dev

# Functions

HTTPCode returns the HTTP code of a given custom HTTP error, with 500 as default.

# Variables

Define the errors we want to use inside the business logic & domain.
Define the errors we want to use inside the business logic & domain.
Define the errors we want to use inside the business logic & domain.
Define the errors we want to use inside the business logic & domain.
Define the errors we want to use inside the business logic & domain.
Define the errors we want to use inside the business logic & domain.
Define the errors we want to use inside the business logic & domain.
Define the errors we want to use inside the business logic & domain.
Define the errors we want to use inside the business logic & domain.
Define the errors we want to use inside the business logic & domain.
Define the errors we want to use inside the business logic & domain.
Define the errors we want to use inside the business logic & domain.

# Structs

HTTPError is our custom HTTP error to get a proper string output.