All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Updating github CI dependencies
- Updating CI to use Go 1.19
- Updating CI linter version
- Linting the code
- Tests covering
.Is
.`
.Is
is on a pointer instead of value.
- API info is only added to error message on
APIError
.
- Added ability to pre-append
Option
s.
- Functional
Option
s.
New
now implements the functional optional pattern.
- Removed
SetStatusCode
.
Wrap
now accepts a list of errors.
- CI Pipeline:
- Lint
- Tests
- Documentation:
- Package's documentation (
doc.go
) - Meaningful code comments, and symbol names (
const
,var
,func
) -
GoDoc
server tested -
README.md
-
LICENSE
- Files has LICENSE in the header
- Useful
CHANGELOG.md
- Clear
CONTRIBUTION.md
- Package's documentation (
- Automation:
-
Makefile
-
- Testing:
- Coverage 80%+
- Unit test
- Real testing
- Examples:
- Example's test file
- Ability to create custom errors.
- Ability to create custom errors with code.
- Ability to create custom errors with status code.
- Ability to create custom errors with message.
- Ability to create custom errors wrapping an error.
- Ability to create static (pre-created) custom errors.
- Ability to create dynamic (in-line) custom errors.
- Ability to print a custom error with a dynamic, and custom message.