Forms

13 packages

Packages (13)

nosurf

CSRF protection middleware for Go.

1,726 129

gorilla/csrf

CSRF protection for Go web applications & services.

1,175 165

form

Decodes url.Values into Go value(s) and Encodes Go value(s) into url.Values. Dual Array and Full map support.

901 46

httpin

Decode an HTTP request into a custom struct, including querystring, forms, HTTP headers, etc.

383 27

conform

Keeps user input in check. Trims, sanitizes & scrubs data based on struct tags.

326 37

formam

decode form's values into a struct.

192 19

forms

Framework-agnostic library for parsing and validating form/JSON data which supports multipart forms and files.

143 25

qs

Go module for encoding structs into URL query parameters.

80 7

checker

Checker helps validating user input through rules defined in struct tags or directly through functions.

47 1

bind

Bind form data to any Go values.

32 6

queryparam

Decode `url.Values` into usable struct values of standard or custom types.

19 5

gbind

Bind data to any Go value. Can use built-in and custom expression binding capabilities; supports data validation

10 1

roamer

Eliminates boilerplate code for parsing HTTP requests by binding cookies, headers, query params, path params, body to structs and more by using simple tags.

5