HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
go-playground
validator
Go2019–2025
go-playground / validator

validator

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

5Distinct people
5Mentions
0Explicit recommenders
20.2KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

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

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year5 dated mentions

Observed mentions: 2019-11-16 22:56:19 UTC to 2025-05-09 03:51:01 UTC.

0122019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC101
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC000
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC101
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC211
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101

What Hacker News says

5 sources

Show HN: Go Validator Playground

Hello HN! go-playground/validator¹ is probably the most ubiquitous validation library in Go codebases. As much as it's flexible and neat, it's sometimes a PITA to iterate — I have to setup a whole new Go project² to just test some tags. Hence, I made a WASM³ driven online playground for the same! You can find it here: https://apps.abhijithota.me/go-validator-playground/ You can find the code and more details on the GitHub repo: https://github.com/abhijit-hota/go-validator-playground 1: https://pkg.go.dev/github.com/go-playground/validator/v10 2: Still waiting for a good Go REPL 3: There is an obvious drawback of loading the 6 MB WASM binary upfront over just using a HTTP server but hey, this a half-serious experiment!
2 points · Open discussion
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.
In Pydantic

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.