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
Ship Agents Faster
Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. 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!