validate
gookit/validate · Public GitHub repository
⚔ Go package for data validation and filtering. support Map, Struct, Form data. Go通用的数据验证与过滤库,使用简单,内置大部分常用验证、过滤器,支持自定义验证器、自定义消息、字段翻译。
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
validate is a generic Go data validate and filter tool library.
- Support quick validate Map, Struct, Request(Form, JSON, url.Values, UploadedFile) data
- Validating http.Request automatically collects data based on the request Content-Type value
- Supports checking each child value in a slice. eg: v.StringRule("tags.", "required|string")
- Support filter/sanitize/convert data before validate
- Support add custom filter/validator func
Requirements and intended audience
validate is a generic Go data validate and filter tool library.
Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-10-20. Source: https://github.com/gookit/validate/blob/master/README.md
Recorded maintenance information
Last recorded source update: 2026-11-02. Saved release: v2.0.2 · 2026-08-18. These dates do not guarantee ongoing maintenance.
- Technologies
- Go
- Licence
- MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
- Demo check
- A public page loaded on 2026-11-06. This does not test every feature.
Browse related categories
More projects to explore
iptv
iptv-org/iptv
Collection of publicly available IPTV channels from all over the world
HowToLiveBetter
eternity4719/HowToLiveBetter
高性价比人生指南: 长寿防病、急救、省钱理财、法律红线、失业与工伤、医保社保、恋爱婚育、怀孕育儿、创业与做平台合规、出国与技能。每条写明成本、收益、证据等级和原始出处,只引期刊论文与官方文件。
OpenManus
FoundationAgents/OpenManus
No fortress, purely open ground. OpenManus is Coming.
JavaScript30
wesbos/JavaScript30
30 Day Vanilla JS Challenge