From 395bf6c99ad19bd1e11cb298215f2edf31d7c9a5 Mon Sep 17 00:00:00 2001 From: Saddam H Date: Tue, 10 Oct 2017 22:16:20 +0600 Subject: [PATCH 1/2] Add govalidator to validate http request 1.Godoc: https://godoc.org/github.com/thedevsaddam/govalidator 2.Goreport: https://goreportcard.com/report/github.com/thedevsaddam/govalidator --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b1ea4a5b..8c9814e3 100644 --- a/README.md +++ b/README.md @@ -1302,6 +1302,7 @@ See [go-hardware](https://github.com/rakyll/go-hardware) for a comprehensive lis * [ozzo-validation](https://github.com/go-ozzo/ozzo-validation) - Supports validation of various data types (structs, strings, maps, slices, etc.) with configurable and extensible validation rules specified in usual code constructs instead of struct tags. * [validate](https://github.com/markbates/validate) - This package provides a framework for writing validations for Go applications. * [validator](https://github.com/go-playground/validator) - Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving. +* [govalidator](https://github.com/thedevsaddam/govalidator) - Validate Golang request data with simple rules. Highly inspired by Laravel's request validation. ## Version Control From 6cb97d5ae732ff0e99f29d4c86fb64329a281a9b Mon Sep 17 00:00:00 2001 From: Saddam H Date: Fri, 13 Oct 2017 00:43:23 +0600 Subject: [PATCH 2/2] Alphabetical order for govalidator govalidator package add in alphabetical order. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8c9814e3..d3306839 100644 --- a/README.md +++ b/README.md @@ -1299,10 +1299,10 @@ See [go-hardware](https://github.com/rakyll/go-hardware) for a comprehensive lis *Libraries for validation.* * [govalidator](https://github.com/asaskevich/govalidator) - Validators and sanitizers for strings, numerics, slices and structs. +* [govalidator](https://github.com/thedevsaddam/govalidator) - Validate Golang request data with simple rules. Highly inspired by Laravel's request validation. * [ozzo-validation](https://github.com/go-ozzo/ozzo-validation) - Supports validation of various data types (structs, strings, maps, slices, etc.) with configurable and extensible validation rules specified in usual code constructs instead of struct tags. * [validate](https://github.com/markbates/validate) - This package provides a framework for writing validations for Go applications. * [validator](https://github.com/go-playground/validator) - Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving. -* [govalidator](https://github.com/thedevsaddam/govalidator) - Validate Golang request data with simple rules. Highly inspired by Laravel's request validation. ## Version Control