nodivbyzero
nodivbyzero
Error logging helps to track down issues. For example, I was investigating why swaggo failed in my project and found the `package name is not in GOROOT` error after I...
## Fixes Or Enhances Do not make an interface check if a field is a `String` pointer. Connected to #1129 **Make sure that you've checked the boxes below before you...
## Fixes Or Enhances This PR adds `time.Duration` translation and unit test cases. Connected to: #1069 **Make sure that you've checked the boxes below before you submit PR:** - [x]...
## Fixes Or Enhances This PR adds a few unit tests to increase test coverage: - `startsnotwith` validation - `endsnotwith` validation - iso4217_numeric for UINT **Make sure that you've checked...
## Fixes Or Enhances This PR adds a new validation for numeric ports. Connected to: #1216 ``` type Host struct { Port uint32 `validate:"port"` } ``` **Make sure that you've...
## Fixes Or Enhances Based on the https://github.com/go-playground/validator?tab=readme-ov-file#maintenance-and-support-for-sdk-major-versions **Make sure that you've checked the boxes below before you submit PR:** - [ ] Tests exist or have been written that...
## Fixes Or Enhances This PR simplifies the email regular expression, making it more efficient and easier to understand. Here are benchmarks: old regex: ``` Running tool: /opt/homebrew/bin/go test -benchmem...
## Fixes Or Enhances This PR eliminates the `defaultNotFoundValue` input parameter since it consistently received a value of `true`. **Make sure that you've checked the boxes below before you submit...
## Fixes Or Enhances This PR adds a new example function to demonstrate the process of validating a signup request. **Make sure that you've checked the boxes below before you...
## Fixes Or Enhances Small change to add doc description for `port` validator @go-playground/validator-maintainers