Package gorilla/schema converts structs to and from form values. Conversely, the contents of a struct can be encoded into form values. To define custom names for fields, use a struct tag "schema". To not populate certain fields, use a dash for the name and it will be ignored.
Features
- Uint variants (uint, uint8, uint16, uint32, uint64)
- Unsupported types are simply ignored, however custom types can be registered to be converted
- Examples are available on the Gorilla website
- Licensed under the BSD License
- Package gorilla/schema converts structs to and from form values
- Fills a struct with form values
License
BSD LicenseFollow schema
Other Useful Business Software
Run Any Workload on Compute Engine VMs
Compute Engine delivers high-performance virtual machines for web apps, databases, containers, and AI workloads. Choose from general-purpose, compute-optimized, or GPU/TPU-accelerated machine types—or build custom VMs to match your exact specs. With live migration and automatic failover, your workloads stay online. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of schema!