Open Issues Need Help
View All on GitHubUp to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
AI Summary: Integrate the project with Go Report Card to improve code quality, aiming for an A+ grade. This involves registering the project on goreportcard.com, adding the resulting badge to the README, and addressing any code quality issues identified by the report (e.g., formatting, linting, complexity).
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
AI Summary: Improve the govalid project's workflow to allow for better formatting and diff checking, specifically addressing the limitation of only using the `-diff` flag for diff checks. This likely involves enhancing the build process or integrating a more robust diff tool.
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
AI Summary: Extend the govalid tool to support custom validation functions. These functions should allow users to define their own validation logic, including custom error messages, and accept arguments specified in struct field annotations. The implementation details are not specified, but the goal is to enable flexibility beyond the built-in markers.
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
AI Summary: The task is to modify the benchmark code in the `govalid` project to remove calls to `ResetTimer` and `StopTimer`. This likely involves simplifying the benchmarking process by relying on the default timer behavior.
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
AI Summary: The task involves extending the `govalid` tool to generate validation middleware for HTTP handlers. This includes updating the code generation template to create a `Validate` method for structs, ensuring compatibility with the existing validation functions, adding middleware functionality to handle request validation, writing comprehensive tests, and updating the documentation to reflect these changes.
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
AI Summary: Implement a new validation marker `govalid:uuid` (and variations for specific UUID versions like v4 and v5) for the `govalid` Go package. This involves adding new constants, implementing efficient UUID validation logic (without regex), creating comprehensive tests (unit, golden, and benchmarks against existing libraries), and updating documentation.
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
AI Summary: Implement a new `govalid:url` marker for the `govalid` Go package to validate URLs according to RFC 3986, including scheme checking. This involves adding a new constant, implementing the URL validation logic using `net/url.Parse`, creating comprehensive unit and golden tests, benchmarking against a competitor (go-playground/validator), and updating the documentation.
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.
AI Summary: Implement a new `govalid:email` marker for the govalid Go package to perform HTML5-compliant email validation. This involves adding a new marker constant, implementing the email validation logic using a zero-allocation approach with a compiled regex, creating comprehensive tests (golden, unit, and benchmarks against a competitor), and updating the documentation.
Up to 45x faster 🚀 Auto generate type-safe validation code for structs based on markers.