SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Go Validation Projects
-
validator
:100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
protoc-gen-validate
Protocol Buffer Validation - Being replaced by github.com/bufbuild/protovalidate
-
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.
-
filetype
Fast, dependency-free Go package to infer binary file types based on the magic numbers header signature
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Package govalidator
Validate Golang request data with simple rules. Highly inspired by Laravel's request validation. (by thedevsaddam)
-
Validate
⚔ Go package for data validation and filtering. support Map, Struct, Form data. Go通用的数据验证与过滤库,使用简单,内置大部分常用验证、过滤器,支持自定义验证器、自定义消息、字段翻译。
-
encoding
Go package containing implementations of efficient encoding, decoding, and validation APIs.
-
jsonschema
JSONSchema (draft 2020-12, draft 2019-09, draft-7, draft-6, draft-4) Validation using Go (by santhosh-tekuri)
-
graphql-go-tools
GraphQL Router / API Gateway framework written in Golang, focussing on correctness, extensibility, and high-performance. Supports Federation v1 & v2, Subscriptions & more.
-
valgo
Valgo is a type-safe, expressive, and extensible validator library for Golang. Supports localization and is built with generics.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
The nao1215/csv package was developed with inspiration from go-playground/validator and shogo82148/go-header-csv. I would like to express my gratitude here.
Go uses zero values to provide sensible default values. It's a design choice. With a quick Google you'll find several libraries such as https://github.com/go-playground/validator or https://github.com/asaskevich/govalidator. I use validator whenever I need to ensure any JSON I unmarshalled is correct.
Project mention: Ask HN: Anyone dislike GitHub action yml syntax | news.ycombinator.com | 2024-05-17I write my GHA in CUE now, though I am moving to Argo more generally (which I also write in CUE)
https://cuelang.org | https://cuetorials.com
go-ozzo/ozzo-validation
Project mention: Shrink to Secure: Kubernetes and Secure Compact Containers | news.ycombinator.com | 2023-07-02
If you want to validate your resources against the schema of the resources (mind you also crds) you can use kubeconform.
Project mention: Scaling GraphQL Subscriptions in Go with Epoll and Event Driven Architecture | dev.to | 2024-03-04If you're interested in the full implementation of the resolver, you can find it on GitHub.
Project mention: TypeSpec: A New Language for API-Centric Development | news.ycombinator.com | 2024-04-29> next to the yaml of openapi anything will look good.
Challenge accepted!
https://github.com/bufbuild/protovalidate/blob/main/examples...
Go Validation related posts
-
Ask HN: Anyone dislike GitHub action yml syntax
-
Really: Policy language for infra that doesn't suck
-
nao1215/csv - Read csv with validation in golang
-
API completa em Golang - Parte 7
-
API completa em Golang - Parte 3
-
Is there any equivalent to pydantic, serde, etc?
-
Lua is a viable alternative for JSON
-
A note from our sponsor - SaaSHub
www.saashub.com | 31 May 2024
Index
What are some of the best open-source Validation projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | validator | 15,792 |
2 | govalidator | 5,937 |
3 | cue | 4,804 |
4 | protoc-gen-validate | 3,662 |
5 | ozzo-validation | 3,594 |
6 | gatekeeper | 3,506 |
7 | filetype | 2,029 |
8 | kubeconform | 1,985 |
9 | kpt | 1,649 |
10 | Package govalidator | 1,293 |
11 | email-verifier | 1,100 |
12 | go-proto-validators | 1,078 |
13 | Validate | 1,018 |
14 | encoding | 966 |
15 | jsonschema | 850 |
16 | checkmail | 694 |
17 | graphql-go-tools | 648 |
18 | protovalidate | 655 |
19 | valgo | 371 |
20 | validating | 213 |
21 | grimoire | 161 |
22 | checkdigit | 111 |
23 | jio | 105 |
Sponsored