|3 months ago||9 days ago|
|MIT License||MIT License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Go Echo API Server Development
4 projects | dev.to | 14 May 2022
Input check by go-playground/validator
Simple configuration for apps
4 projects | reddit.com/r/golang | 5 May 2022
Thanks, it basically bunch of battle-tested tools like viper, defaults, validators put together
Validation error handling in Gin handler
1 project | reddit.com/r/golang | 24 Apr 2022
Gin uses go-playground/validator/v10 for validation. Check the full docs on tags usage here.
What is the correct way for sending validation errors messages using JSON-RPC with multilingual support?
1 project | reddit.com/r/golang | 22 Mar 2022
I am using this validator: https://github.com/go-playground/validator
Go EventSourcing and CQRS microservice using EventStoreDB 👋⚡️💫
12 projects | dev.to | 27 Feb 2022
and gRPC CreateOrder handler does the same as http handler, validate request and call command. For validation used validator because of implements value validations for structs and individual fields based on tags.
Building microservices in Go with Gin
7 projects | dev.to | 27 Jan 2022
We need to use the binding struct tag to define our validation rules inside the PrintJob struct. Gin uses go-playground/validator for the internal binding validator implementation. The above validation definition accepts inputs based on the following rules:
3 projects | news.ycombinator.com | 22 Jan 2022
A different language, most likely. I'd use Python for this if the work being done isn't too CPU-intensive and I can afford to make big tradeoffs.
If you want to do data validation like this but for something with better performance while still retaining the benefits of a high-level GC'd language, then I'd try something like https://github.com/go-playground/validator for Go.
Build a REST API with Golang and MongoDB - Fiber Version
7 projects | dev.to | 2 Jan 2022
JSON Schema Validation in Golang
1 project | dev.to | 26 Dec 2021
And in golang we have some libraries that help us with this purpose and in this article we are going to use the validator library, which besides being perhaps the most popular, is the one that contains a good number of resources for us to learn on the internet.
Using the validate package how can I actually return a boolean from my front end to validate?
2 projects | reddit.com/r/golang | 6 Dec 2021
I'm actually not familiar with this style of decoding, sorry. But my point still stands. Assuming you can successfully decode the data from the request into the struct, you need to have the struct set up in a way that will allow https://github.com/go-playground/validator to validate it. I strongly recommend using `*bool` for your use case:
What are some alternatives?
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.
grpc-go - The Go language implementation of gRPC. HTTP/2 based RPC
viper - Go configuration with fangs
uuid - Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
Validate - ⚔ Go package for data validation and filtering. support Map, Struct, Form data. Go通用的数据验证与过滤库，使用简单，内置大部分常用验证、过滤器，支持自定义验证器、自定义消息、字段翻译。
fiber-swagger - fiber middleware to automatically generate RESTful API documentation with Swagger 2.0.
Echo - High performance, minimalist Go web framework
Password validator library for Go - Flexible and customizable password validation
pgx - PostgreSQL driver and toolkit for Go