Ross ROSS = Recommend OSS · open-source software intelligence for agents

gookit/validate

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

github.com/gookit/validate · homepage · Go · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

94/100

  • Activity 98
  • Release rhythm 86
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 65.5
  • age_days: 2970
  • days_rel: 15
  • days_push: 15
  • n_releases_24m: 9

Full methodology

Adoption not part of the score

1164 stars · 123 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A generic Go library for data validation and filtering that supports validating Map, Struct, and HTTP Request (Form, JSON, url.Values) data. It includes 70+ built-in validators, data filters/converters, scene-based validation, custom validators, and i18n-aware error messages.

Use cases

  • validate form data in a go web app
  • validate json request body in gin or echo
  • sanitize and convert input before validation
  • validate struct fields with tags
  • custom error messages and field translations for validation
  • validate different fields per scene
  • validate individual values against rule strings

When to choose

  • you need a batteries-included Go validation library with many built-in validators and filters
  • you want automatic validation of http.Request data based on Content-Type
  • you need i18n error messages or per-field translations
  • you want framework-agnostic validation usable with Gin, Echo, Chi, etc.

When to avoid

  • you only need simple struct-tag validation and prefer a minimal dependency-free approach
  • your framework already provides a validation layer you must use
  • you need validation in a non-Go language

Facets

library · maturity active

form-handling serialization backend web-development developer-tools go cross-platform validation data-filtering sanitization struct-tags i18n http-request-validation

2 sources

Member repositories

RepositoryRoleHealth v2
gookit/validatemain94

For agents

markdown · JSON · MCP: product_card(name="gookit/validate")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem