Top 3.5% dependent repos on proxy.golang.org
proxy.golang.org : github.com/swaggest/form
Package form Decodes url.Values into Go value(s) and Encodes Go value(s) into url.Values. It has the following features: Questions out of the box supported types string bool int, int8, int16, int32, int64 uint, uint8, uint16, uint32, uint64 float32, float64 struct and anonymous struct interface{} time.Time` - by default using RFC3339 a `pointer` to one of the above types slice, array map `custom types` can override any of the above types many other types may be supported inherently (eg. bson.ObjectId is type ObjectId string, which will get populated by the string type **NOTE**: map, struct and slice nesting are ad infinitum. symbols html example decoding the above HTML example encoding Decoder Encoder you can tell form to ignore fields using `-` in the tag you can tell form to omit empty fields using `,omitempty` or `FieldName,omitempty` in the tag To maximize compatibility with other systems the Encoder attempts to avoid using array indexes in url.Values if at all possible.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/swaggest/form
License: MIT
Latest release: over 4 years ago
First release: almost 9 years ago
Namespace: github.com/swaggest
Dependent packages: 3
Dependent repositories: 2
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 9 days ago