parser

package
v0.101.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseFormString

func ParseFormString(s string) (form.Values, error)

ParseFormString parses a form-encoded body or query into a set of key/value pairs. It differs from url.ParseQuery in that because it produces a slice instead of a map, order can be preserved. This is key to properly decoding "Rack-style" form encoding.

Implementation modified from: https://github.com/deoxxa/urlqp

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL