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.`
.Isis on a pointer instead of value.
- API info is only added to error message on
APIError.
- Added ability to pre-append
Options.
- Functional
Options.
Newnow implements the functional optional pattern.
- Removed
SetStatusCode.
Wrapnow accepts a list of errors.
- CI Pipeline:
- Lint
- Tests
- Documentation:
- Package's documentation (
doc.go) - Meaningful code comments, and symbol names (
const,var,func) -
GoDocserver 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.