Go Validation

Open-source Go projects categorized as Validation

Top 23 Go Validation Projects

  • validator

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

  • Project mention: API completa em Golang - Parte 7 | dev.to | 2024-02-03
  • govalidator

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

  • Project mention: Is there any equivalent to pydantic, serde, etc? | /r/golang | 2023-12-06

    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.

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

    InfluxDB logo
  • cue

    The home of the CUE language! Validate and define text-based and dynamic configuration

  • Project mention: Show HN: Workout Tracker – self-hosted, single binary web application | news.ycombinator.com | 2024-02-29

    Where `kube.cue` sets reasonable defaults (e.g. image is /). The "cluster" runs on a mini PC in my basement, and I have a small Digital Ocean VM with a static IP acting as an ingress (networking via Tailscale). Backups to cloud storage with restic, alerting/monitoring with Prometheus/Grafana, Caddy/Tailscale for local ingress.

    [1] https://www.talos.dev/

    [2] https://cuelang.org/

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

  • Project mention: Is there any equivalent to pydantic, serde, etc? | /r/golang | 2023-12-06

    go-ozzo/ozzo-validation

  • gatekeeper

    🐊 Gatekeeper - Policy Controller for Kubernetes

  • Project mention: Shrink to Secure: Kubernetes and Secure Compact Containers | news.ycombinator.com | 2023-07-02
  • filetype

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

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • kubeconform

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

  • Project mention: Dealing with Yaml files | /r/kubernetes | 2023-07-05

    If you want to validate your resources against the schema of the resources (mind you also crds) you can use kubeconform.

  • kpt

    Automate Kubernetes Configuration Editing

  • Package govalidator

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

  • go-proto-validators

    Generate message validators from .proto annotations.

  • email-verifier

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

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

  • Project mention: Handling high-traffic HTTP requests with JSON payloads | /r/golang | 2023-12-07
  • jsonschema

    JSONSchema (draft 2020-12, draft 2019-09, draft-7, draft-6, draft-4) Validation using Go (by santhosh-tekuri)

  • checkmail

    Golang package for email validation

  • graphql-go-tools

    GraphQL Router / API Gateway framework written in Golang, focussing on correctness, extensibility, and high-performance. Supports Federation v1 & v2, Subscriptions & more.

  • Project mention: Scaling GraphQL Subscriptions in Go with Epoll and Event Driven Architecture | dev.to | 2024-03-04

    If you're interested in the full implementation of the resolver, you can find it on GitHub.

  • valgo

    Valgo is a type-safe, expressive, and extensible validator library for Golang. Supports localization and is built with generics.

  • Project mention: Request Validations in Go REST API | /r/golang | 2023-05-21
  • validating

    A Go library for validating structs, maps and slices.

  • grimoire

    Database access layer for golang (by Fs02)

  • checkdigit

    Provide check digit algorithms and calculators written in Go

  • jio

    jio is a json schema validator similar to joi

  • Project mention: Request Validations in Go REST API | /r/golang | 2023-05-21
  • truemail-go

    🚀 Configurable Golang 📨 email validator/verifier. Verify email via Regex, DNS, SMTP and even more. Be sure that email address valid and exists.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

Go Validation related posts

Index

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

Project Stars
1 validator 15,562
2 govalidator 5,926
3 cue 4,754
4 protoc-gen-validate 3,642
5 ozzo-validation 3,566
6 gatekeeper 3,465
7 filetype 2,013
8 kubeconform 1,923
9 kpt 1,631
10 Package govalidator 1,284
11 go-proto-validators 1,069
12 email-verifier 1,070
13 Validate 1,007
14 encoding 962
15 jsonschema 832
16 checkmail 691
17 graphql-go-tools 635
18 valgo 353
19 validating 213
20 grimoire 161
21 checkdigit 111
22 jio 96
23 truemail-go 85

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com