gorilla/schema
Package gorilla/schema fills a struct with form values. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5083
- days_rel: n/a
- days_push: 744
- n_releases_24m: 0
Adoption not part of the score
1506 stars · 244 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
gorilla/schema is a Go library that converts structs to and from HTTP form values, with support for struct tags, custom types, and default values. It is part of the Gorilla web toolkit and is commonly used to decode POST form data into typed structs.
Use cases
- decode html form post values into a go struct
- encode a struct into url form values for an http request
- bind query parameters to struct fields
- require or rename fields with struct tags
- set default values for missing form fields
- register custom converters for unsupported field types
When to choose
- you are building Go HTTP handlers that accept form submissions
- you want lightweight struct-to-form mapping without a full framework
- you need bidirectional conversion between structs and url.Values
When to avoid
- you need JSON or XML binding rather than form values
- you want full-featured request validation beyond required fields
- your project uses a web framework that already includes form binding
Facets
library · maturity stable
serialization form-handling web-framework web-development backend developer-tools go cross-platform gorilla form-values struct-decoding struct-encoding http-forms web-server
2 sources
- readme: https://github.com/gorilla/schema · fetched 2026-08-28 · 511e824bf106
- homepage: https://gorilla.github.io · fetched 2026-08-29 · aa93940b2bb1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gorilla/schema | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem