All Projects → RussellLuo → Validating

RussellLuo / Validating

Licence: mit
A Go library for validating structs, maps and slices.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Validating

Ozzo Validation
An idiomatic Go (golang) validation package. Supports configurable and extensible validation rules (validators) using normal language constructs instead of error-prone struct tags.
Stars: ✭ 2,471 (+1207.41%)
Mutual labels:  validation
Validator
The Validator component provides tools to validate values following the JSR-303 Bean Validation specification.
Stars: ✭ 2,238 (+1084.13%)
Mutual labels:  validation
Exop
Elixir library that provides a macros which allow you to encapsulate business logic and validate incoming parameters with predefined contract.
Stars: ✭ 185 (-2.12%)
Mutual labels:  validation
Validator
A tiny library for easily validating TextInputLayouts in Android
Stars: ✭ 169 (-10.58%)
Mutual labels:  validation
Validetta
A tiny jquery plugin for validate forms
Stars: ✭ 175 (-7.41%)
Mutual labels:  validation
Drf Typed Views
Use type annotations to validate/deserialize request parameters in Dango REST Framework.
Stars: ✭ 181 (-4.23%)
Mutual labels:  validation
Liform React
Generate forms from JSON Schema to use with React (& redux-form)
Stars: ✭ 167 (-11.64%)
Mutual labels:  validation
Validateur
Functional validations inspired by Ruby's ActiveModel
Stars: ✭ 186 (-1.59%)
Mutual labels:  validation
Joiful
TypeScript Declarative Validation for Joi
Stars: ✭ 177 (-6.35%)
Mutual labels:  validation
Uploadcare Widget
Uploadcare Widget, an ultimate tool for HTML5 file upload supporting multiple file upload, drag&drop, validation by file size/file extension/MIME file type, progress bar for file uploads, image preview.
Stars: ✭ 183 (-3.17%)
Mutual labels:  validation
Simple React Validator
A simple react form validator inspired by Laravel validation.
Stars: ✭ 170 (-10.05%)
Mutual labels:  validation
Aiohttp Apispec
Build and document REST APIs with aiohttp and apispec
Stars: ✭ 172 (-8.99%)
Mutual labels:  validation
Host Validation
Express.js middleware for "Host" and "Referer" header validation to protect against DNS rebinding attacks.
Stars: ✭ 183 (-3.17%)
Mutual labels:  validation
Prop Types Ts
Alternative syntax for prop types providing both static and runtime type safety, powered by io-ts
Stars: ✭ 167 (-11.64%)
Mutual labels:  validation
React Advanced Form
Functional reactive forms. Multi-layer validation, custom styling, field grouping, reactive props, and much more.
Stars: ✭ 186 (-1.59%)
Mutual labels:  validation
Openapi Psr7 Validator
It validates PSR-7 messages (HTTP request/response) against OpenAPI specifications
Stars: ✭ 168 (-11.11%)
Mutual labels:  validation
We Validator
💯 简单灵活的表单验证插件,支持小程序、浏览器以及Nodejs端使用
Stars: ✭ 180 (-4.76%)
Mutual labels:  validation
Deep Waters
🔥Deep Waters is an easy-to-compose functional validation system for javascript developers 🔥
Stars: ✭ 188 (-0.53%)
Mutual labels:  validation
Redux Form
A Higher Order Component using react-redux to keep form state in a Redux store
Stars: ✭ 12,597 (+6565.08%)
Mutual labels:  validation
Qmbform
Create simple Android forms
Stars: ✭ 184 (-2.65%)
Mutual labels:  validation

validating

A Go library for validating structs, maps and slices.

Features

  1. Simple

    Simple and stupid, no magic involved.

  2. Type-safe

    Schema is defined in Go, which is type-safer (and more powerful) than traditional struct tags.

  3. Flexible

    • Validators are composite.
    • Nested struct validation is well supported.
    • Schema can be defined inside or outside struct.
    • Validator customizations are made easy.
  4. No reflection

Installation

$ go get -u github.com/RussellLuo/validating/v2

Validator factories and validators

To be strict, this library has a conceptual distinction between validator factory and validator.

A validator factory is a function used to create a validator, which will do the actual validation.

Built-in validator factories

Validator customizations

Examples

Documentation

Check out the Godoc.

Thanks

This library borrows some ideas from the following libraries:

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].