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
Earn up to 16% annual interest with Nexo.
Generate interest, access liquidity without selling, and execute trades seamlessly. All in one platform.
Geographic restrictions, eligibility, and terms apply.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of schema!