Skip to content

Commit

Permalink
Merge pull request #124 from rezakhademix/feat-update-readme-add-time…
Browse files Browse the repository at this point in the history
…-doc

feat: update readme & docs
  • Loading branch information
rezakhademix authored Dec 13, 2024
2 parents 30d15e8 + 316b908 commit 1edd65e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v2.1.0 (2024-12-13)

- History of changes: see https://github.com/rezakhademix/govalidator/compare/v2.0.9...v2.1.0

## v2.0.9 (2024-09-20)

- History of changes: see https://github.com/rezakhademix/govalidator/compare/v2.0.8...v2.0.9
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Each validation rule in GoValidator has it's own default message, e.g: `required
| BetweenInt | `BetweenInt` checks whether value falls within the specified range or not. |
| BetweenFloat | `BetweenFloat` checks whether value falls within the specified range or not. |
| BetweenString | `BetweenString` checks whether string length falls within the specified range or not. |
| Date | `Date` checks value to be a valid, non-relative date. |
| Date | `Date` checks value to be a valid, non-relative date with given layout. |
| Email | `Email` checks value to match `EmailRegex` regular expression. |
| Exists | `Exists` checks given value exists in given table or not. |
| NotExists | `NotExists` checks given value doesn't exist in given table, except. |
Expand All @@ -63,6 +63,7 @@ Each validation rule in GoValidator has it's own default message, e.g: `required
| IsJSON | `IsJSON` will check if given string is a valid JSON. |
| NumericString | `NumericString` will check if given value is a valid string of numbers. |
| MAC | `MAC` will check if given value is a valid MAC address. |
| Time | `Time` will check if given value is a non-relative time with given layout. |
| CustomRule | `CustomRule` is a dynamic method to define any custom validation rule. |

### Functions (other common validation rules)
Expand Down Expand Up @@ -212,3 +213,4 @@ type UserCreateReq struct {

### Notes
These benchmarks were conducted on an **Apple M3 Pro** CPU.
****

0 comments on commit 1edd65e

Please sign in to comment.