awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

Go Validation Libraries

Clasament actualizat la 13 iul. 2026

For a data validation library for Go, the strongest matches are go-playground/validator (This library is the industry-standard tool for Go struct), go-ozzo/ozzo-validation (This library provides a robust, interface-based approach to validating) and go-validator/validator (This library is the standard Go framework for struct-based). asaskevich/govalidator and thedevsaddam/govalidator round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

Selectăm repository-uri open-source de pe GitHub care se potrivesc cu „best go validation libraries”. Rezultatele sunt clasificate după relevanța față de căutarea ta — folosește filtrele de mai jos pentru a rafina rezultatele sau utilizează AI-ul.

Go Validation Libraries

Găsește cele mai bune repo-uri cu AI.Vom căuta cele mai potrivite repository-uri folosind AI.
  • go-playground/validatorAvatar go-playground

    go-playground/validator

    20,028Vezi pe GitHub↗

    This is a Go struct validation library used to maintain data integrity by enforcing constraints on fields, slices, and maps. It functions as a schema validation tool and data integrity validator, ensuring that complex nested structures adhere to predefined rules. The library utilizes struct tags to configure validation logic at runtime and supports a custom function registry for extending validation rules. It is distinguished by its ability to perform cross-field dependency evaluation, allowing the comparison of values between different fields within the same data structure to ensure logical

    This library is the industry-standard tool for Go struct validation, offering comprehensive support for struct tags, custom rules, cross-field dependencies, and nested validation.

    GoCross-Field ValidatorsRecursive Hierarchy ValidationCross-Field Dependencies
    Vezi pe GitHub↗20,028
  • go-ozzo/ozzo-validationAvatar go-ozzo

    go-ozzo/ozzo-validation

    4,072Vezi pe GitHub↗

    ozzo-validation is a programmable data validation library for Go that verifies structs, maps, and primitive types using a declarative, rule-based approach. It functions as an interface-based validator, allowing for the recursive checking of nested data structures and custom types without the use of struct tags. The framework distinguishes itself as a context-aware validation engine, supporting the propagation of request-scoped data to rules that depend on external state. It provides extensive extensibility through custom rule definitions and the ability to override default failure text with l

    This library provides a robust, interface-based approach to validating Go structs and nested data structures, offering extensive support for custom rules and complex validation logic without relying on struct tags.

    GoCustom Validation RulesLocalized Error MessagesNested Object Validation
    Vezi pe GitHub↗4,072
  • go-validator/validatorAvatar go-validator

    go-validator/validator

    1,335Vezi pe GitHub↗

    This project is a data validation framework for the Go programming language that enforces integrity by applying declarative constraints to struct fields. It utilizes reflection to inspect data structures at runtime, mapping field-level requirements defined in struct tags to specific validation logic. The library distinguishes itself through its ability to handle complex object graphs by recursively traversing nested structures and slices. It supports context-aware validation, allowing developers to switch between different rule sets for the same data structure based on application state or sp

    This library is the standard Go framework for struct-based data validation, offering comprehensive support for nested structures, custom rules, and cross-field validation via struct tags.

    GoStruct Tag Validators
    Vezi pe GitHub↗1,335
  • asaskevich/govalidatorAvatar asaskevich

    asaskevich/govalidator

    6,203Vezi pe GitHub↗

    Go Package of validators and sanitizers for strings, numerics, slices and structs

    This library provides a comprehensive suite of struct tag-based validation and sanitization tools for Go, making it a direct fit for validating data structures and user input.

    GoStruct Tag Validators
    Vezi pe GitHub↗6,203
  • thedevsaddam/govalidatorAvatar thedevsaddam

    thedevsaddam/govalidator

    1,344Vezi pe GitHub↗

    Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.

    This library provides a straightforward way to validate Go request data using struct tags and custom rules, making it a solid choice for handling input validation despite lacking some of the more advanced features like complex cross-field validation.

    GoValidation Libraries
    Vezi pe GitHub↗1,344
  • gookit/validateAvatar gookit

    gookit/validate

    1,156Vezi pe GitHub↗

    ⚔ Go package for data validation and filtering. support Map, Struct, Form data. Go通用的数据验证与过滤库,使用简单,内置大部分常用验证、过滤器,支持自定义验证器、自定义消息、字段翻译。

    This library provides comprehensive struct tag validation, custom rule support, and nested validation for Go, making it a direct fit for your data validation needs.

    GoValidation Libraries
    Vezi pe GitHub↗1,156

Related searches

  • a data validation library for Rust
  • a java library for data validation
  • a library for validating data in PHP
  • a lightweight validation library for JavaScript
  • o bibliotecă de validare a datelor folosind type hints în Python
  • o bibliotecă de validare a formularelor pentru React
  • a testing framework for Go applications
  • o bibliotecă de validare a tipurilor la runtime pentru TypeScript