go-argus is a Go library that helps developers validate data in their applications. You define what valid data looks like using simple tags on your data structures, then pass data through the validator to get clear, helpful error messages. The library works entirely with Go's basic tools, supports 9 languages out of the box, and includes tools for checking emails, URLs, IP addresses, credit card numbers, and much more. It can be used as a standalone tool or integrated into web service frameworks for request validation.
How It Works
While building your Go web service, you realize you need to check that incoming data is correct before processing it.
You add simple tags to your data structures like 'required', 'email', or 'must be between 1 and 100'. Over 97 rules are built in, so you rarely need anything custom.
When a request comes in, you send your data through the validator with a single function call. The validator checks every field against your rules.
If something is wrong, you get back a friendly error message automatically translated into Chinese, English, Japanese, Korean, French, German, Spanish, or Russian.
Invalid data is caught and rejected with clear feedback. Valid data flows through confidently. Your service stays robust without extra dependencies.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.