awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

Go Validation Libraries

Clasificación actualizada el 13 jul 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.

Curamos repositorios de código abierto en GitHub que coinciden con “best go validation libraries”. Los resultados están clasificados por relevancia según tu búsqueda; usa los filtros de abajo para acotar o refina con IA.

Go Validation Libraries

Encuentra los mejores repositorios con IA.Buscaremos los repositorios que mejor coincidan usando IA.
  • go-playground/validatorAvatar de go-playground

    go-playground/validator

    20,028Ver en 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
    Ver en GitHub↗20,028
  • go-ozzo/ozzo-validationAvatar de go-ozzo

    go-ozzo/ozzo-validation

    4,072Ver en 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
    Ver en GitHub↗4,072
  • go-validator/validatorAvatar de go-validator

    go-validator/validator

    1,335Ver en 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
    Ver en GitHub↗1,335
  • asaskevich/govalidatorAvatar de asaskevich

    asaskevich/govalidator

    6,203Ver en 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
    Ver en GitHub↗6,203
  • thedevsaddam/govalidatorAvatar de thedevsaddam

    thedevsaddam/govalidator

    1,344Ver en 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
    Ver en GitHub↗1,344
  • gookit/validateAvatar de gookit

    gookit/validate

    1,156Ver en 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
    Ver en 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
  • una librería de validación de datos usando type hints de Python
  • librería de validación de formularios para React
  • a testing framework for Go applications
  • librería de validación de tipos en runtime para TypeScript