github.com/thedevsaddam/govalidator

govalidator

Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.

71

Decision Signals

Health score 71/100, confidence 100/100.

Review
Maintenance 20
Adoption 100
Security 92
Maturity 84
Developer DX 91
Confidence 100

Install

go get github.com/thedevsaddam/govalidator

Package Data

updated Jun 11, 2026
Latest versionv1.9.10
Imported by248 packages
Stars1.3K
Forks122
Last activity2 years ago
Latest releasev1.9.9 (6 years ago)
LicenseMIT
Known vuln records0

API Surface

67 symbols
SymbolKindSynopsis
Bool Type type Bool struct{ ... }
Bool.IsSet Field IsSet bool
Bool.MarshalJSON Method func (i *Bool) MarshalJSON() ([]byte, error)
Bool.UnmarshalJSON Method func (i *Bool) UnmarshalJSON(data []byte) error
Bool.Value Field Value bool
Float32 Type type Float32 struct{ ... }
Float32.IsSet Field IsSet bool
Float32.MarshalJSON Method func (i *Float32) MarshalJSON() ([]byte, error)
Float32.UnmarshalJSON Method func (i *Float32) UnmarshalJSON(data []byte) error
Float32.Value Field Value float32
Float64 Type type Float64 struct{ ... }
Float64.IsSet Field IsSet bool

Maintained Alternatives

limited recent repository activity

#1 Validator

Package validator implements value validations for structs and individual fields based on tags.

Go Validation Libraries 20.0K stars 0 imported-by 65% confidence
88

#2 govalidator

[Go] Package of validators and sanitizers for strings, numerics, slices and structs

Go Validation Libraries 6.2K stars 0 imported-by 45% confidence
83

#3 validate

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

Go Validation Libraries 1.2K stars 0 imported-by 45% confidence
81

Similar Packages

Go Validation Libraries

#1 Validator

Package validator implements value validations for structs and individual fields based on tags.

Go Validation Libraries 20.0K stars 0 imported-by 65% confidence
88

#2 govalidator

[Go] Package of validators and sanitizers for strings, numerics, slices and structs

Go Validation Libraries 6.2K stars 0 imported-by 45% confidence
83

#3 validate

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

Go Validation Libraries 1.2K stars 0 imported-by 45% confidence
81

#4 ozzo-validation

Package validation provides configurable and extensible rules for validating data of various types.

Go Validation Libraries 4.1K stars 1.3K imported-by 100% confidence
71

#5 validation

Package validation provides methods for validating parameter value using reflection.

Go Validation Libraries 215 stars 77.0K imported-by 75% confidence
70