Skip to content
F

Form

A Form Encoding & Decoding Package for Go

by ajgFree

#3196in Productivity
0In stores

Description

form is a Go package for encoding and decoding arbitrary Go values in application/x-www-form-urlencoded format and as url.Values. That is th…

Highlights

  • Encode and decode Go values as form data
  • Works with url.Values and query strings
  • Modeled on encoding/json conventions
  • Limits for slice growth, nesting and input size
  • Fuzz tests and end-to-end HTTP tests

Ratings & Reviews

No ratings yet

Be the first to rate Form.

People also visit

V

Validator

Go Struct and Field validation, including Cross Field, Cross Struct, Map

Utilities
Launch
G

golang-safety

Defensive Golang coding against accidental bugs

AI Skills
Get
C

Concise Encoding

The secure data format for a modern world

Productivity
Launch
G

golang-security

Security best practices and vulnerability prevention for Golang

AI Skills
Get
U

URL Decode Online

Fast, privacy-first URL decoder & encoder for developers

Developer Tools
Launch
C

Csvutil

csvutil provides fast and idiomatic mapping between CSV and Go (golang) values

Entertainment
Launch

Form FAQ

What does the form package do?

It is a Go library that turns Go structs and values into form-encoded data and back, for web forms and URL query strings.

What version of Go do I need?

The README says the only requirement is Go 1.17 or later.

Is it stable?

The README says it is stable and in production use, and that the public API and wire format will not change incompatibly within the v1 series.

Has it been security audited?

The README says it has not undergone a formal third-party security audit. It advises careful handling of untrusted input and setting the available limits.

Does it follow any Go conventions?

Yes. The README says it is modeled after encoding/json and follows the same conventions.

What are the best Form alternatives?

Popular alternatives to Form include Concise Encoding, Palform and Formizee.. See all Form alternatives

Developer Stuff

Badges