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: nao1215/csv - Read csv with validation in golang | dev.to | 2024-05-11

    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.

  • 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: Ask HN: Anyone dislike GitHub action yml syntax | news.ycombinator.com | 2024-05-17

    I 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

  • 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

  • SaaSHub

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

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

  • email-verifier

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

  • go-proto-validators

    Generate message validators from .proto annotations.

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

  • protovalidate

    Protocol Buffer Validation - Go, Java, Python, and C++ Beta Releases!

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

  • valgo

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

  • 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

  • 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

  • Ask HN: Anyone dislike GitHub action yml syntax

    1 project | news.ycombinator.com | 17 May 2024
  • Really: Policy language for infra that doesn't suck

    1 project | news.ycombinator.com | 16 May 2024
  • nao1215/csv - Read csv with validation in golang

    4 projects | dev.to | 11 May 2024
  • API completa em Golang - Parte 7

    3 projects | dev.to | 3 Feb 2024
  • API completa em Golang - Parte 3

    2 projects | dev.to | 16 Dec 2023
  • Is there any equivalent to pydantic, serde, etc?

    8 projects | /r/golang | 6 Dec 2023
  • Lua is a viable alternative for JSON

    1 project | news.ycombinator.com | 4 Nov 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 31 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com