Go Validation

Open-source Go projects categorized as Validation | Edit details
Related topics: #Golang #Go #Validator #Email #JSON

Top 23 Go Validation Projects

  • validator

    :100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving

    Project mention: Pydantic | news.ycombinator.com | 2022-01-22

    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.

  • govalidator

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

    Project mention: Is there a module to determine a data type? | reddit.com/r/golang | 2021-09-01

    If you just want to assert that certain strings are convertible into certain types, https://github.com/asaskevich/govalidator contains a lot of handy functions to do just that.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • 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.

    Project mention: What type of software do you write at your workplace? | reddit.com/r/golang | 2022-01-17

    Other packages of note: https://github.com/uber-go/zap https://github.com/go-ozzo/ozzo-validation

  • protoc-gen-validate

    protoc plugin to generate polyglot message validators

    Project mention: is there any package to generate validation code for struct instead of using reflect (tags)? | reddit.com/r/golang | 2021-12-27

    Yes, I am currently using this. I prefer something like this https://github.com/envoyproxy/protoc-gen-validate

  • filetype

    Fast, dependency-free Go package to infer binary file types based on the magic numbers header signature

  • Package govalidator

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

  • kpt

    A Git-native, schema-aware, extensible client-side tool for packaging, customizing, validating, and applying Kubernetes resources.

    Project mention: Who's using GKE Config Connector? | reddit.com/r/googlecloud | 2021-12-06

    Here is link number 1 - Previous text "kpt"

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • encoding

    Go package containing implementations of efficient encoding, decoding, and validation APIs.

    Project mention: Fastest JSON parser for large (~888kB) API response? | reddit.com/r/golang | 2022-01-07

    Try this one out https://github.com/segmentio/encoding it's always worked well for me

  • checkmail

    Golang package for email validation

    Project mention: Food-app | dev.to | 2021-06-08

    Go Email validation Link

  • Validate

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

  • kubeconform

    A FAST Kubernetes manifests validator, with support for Custom Resources!

    Project mention: Securing Kubernetes Deployments | dev.to | 2021-11-08

    wget https://github.com/yannh/kubeconform/releases/download/v0.4.12/kubeconform-linux-amd64.tar.gz tar xf kubeconform-linux-amd64.tar.gz sudo cp kubeconform /usr/local/bin checkout kubeconform --summary deployment.yml

  • email-verifier

    :white_check_mark: A Go library for email verification without sending any emails.

  • graphql-go-tools

    Tools to write high performance GraphQL applications using Go/Golang.

    Project mention: Ask HN: Have you found something you love to do? If yes how? | news.ycombinator.com | 2021-12-25

    Five or so years ago I started to "implement" GraphQL, the Query language from scratch. Lexing, parsing, designing an AST. I had to rewrite everything multiple times, added validation and an execution engine. At some point I realized what I've actually built, the foundation to create an npm-like system for APIs, using GraphQL as the universal integration language for any kind of API. Since I understood how powerful this concept is I'm unable to stop working on it. I'm now turning this into a product/company, it's called WunderGraph: https://wundergraph.com/ Btw. the engine and everything is open source, it's written in Go: https://github.com/jensneuse/graphql-go-tools

  • grimoire

    Database access layer for golang

  • go-map-schema

    Simple JSON type checking.

    Project mention: Type check JSON requests | reddit.com/r/golang | 2021-05-19
  • checkdigit

    Provide check digit algorithms and calculators written in Go

  • terraform-validator

    A norms and conventions validator for Terraform

  • Handy Go utilities

    GO Golang Utilities and helpers like validators and string formatters

  • jio

    jio is a json schema validator similar to joi

  • gody

    :balloon: A lightweight struct validator for Go

  • Project mention: An Istio Configuration Validator | reddit.com/r/istio | 2021-04-04
  • govalid

    Struct validation using tags

  • go-email-validator

    📧 Golang Email address validator

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-01-22.

Go Validation related posts


What are some of the best open-source Validation projects in Go? This list will help you:

Project Stars
1 validator 9,485
2 govalidator 5,206
3 ozzo-validation 2,515
4 protoc-gen-validate 1,901
5 filetype 1,473
6 Package govalidator 1,044
7 kpt 976
8 encoding 811
9 checkmail 614
10 Validate 510
11 kubeconform 391
12 email-verifier 354
13 graphql-go-tools 265
14 grimoire 156
15 go-map-schema 86
16 checkdigit 85
17 terraform-validator 73
18 Handy Go utilities 66
19 jio 62
20 gody 52
21 istio-config-validator 32
22 govalid 23
23 go-email-validator 17
Find remote jobs at our new job board 99remotejobs.com. There are 30 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.