# validate

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

Canonical page: https://www.reposhelf.co.uk/projects/github/gookit/validate.html

- Project ID: gookit/validate
- Source: GitHub
- Original project: https://github.com/gookit/validate
- Description attribution: project author metadata
- Categories: Other
- Technologies: Go
- Licence: MIT
- Repository availability checked: 2026-11-03T23:44:27.320Z
- Demo page loaded: 2026-11-06T00:47:29.687Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> 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

## Author-documented requirements and 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.

Source: https://github.com/gookit/validate/blob/master/README.md

Extraction checked: 2026-10-20T07:18:09.977Z

Last recorded source update: 2026-11-02T03:08:14.000Z

Saved release: v2.0.2 — 2026-08-18T12:20:44.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=gookit%2Fvalidate). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
