package
1.2.3
Repository: https://github.com/carry0987/filetree-api.git
Documentation: pkg.go.dev

# Functions

BadRequestError creates an APIError instance representing a BadRequest.
InternalServerError creates an APIError instance representing an InternalServer error.
NewAPIError creates an instance of APIError.
Create an error response.
Create a successful response.
NotFoundError creates an APIError instance representing a NotFound.
UnauthorizedError creates an APIError instance representing an Unauthorized.

# Structs

APIError is a structure for storing API error information.
Response is a basic structure for API response.