Open 9ssi7 opened 4 months ago
When I looked into it a bit, the mimetype repo started using bytes.Cut with version 1.4.4.
bytes.Cut came with version 1.18 of go. Check for details. Therefore, an error occurs in version 1.17.
We can remove 1.17 from the supported versions. Since 1.17 is already available for older versions, this will not be a problem.
Yes, what I wrote in my previous comment is no longer valid. We used the module replace feature, which is a better way. This way, we can continue to support 1.17.
Now we just need to include this pr for security
Fixes Or Enhances
the mimetype dependency version upgraded.
Check for details https://github.com/go-playground/validator/issues/1291
@go-playground/validator-maintainers