urldecode

package module
v0.0.0-...-36add12 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2019 License: MIT Imports: 10 Imported by: 1

README

About

Decode url into struct

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unmarshal

func Unmarshal(data []byte, v interface{}) error

Unmarshal url encoded data into v

Types

type Decoder

type Decoder struct {
	// contains filtered or unexported fields
}

Decoder reads values from url encoded values string sets them in target value

func NewDecoder

func NewDecoder(r io.Reader) *Decoder

NewDecoder creates new decoder

func (*Decoder) Decode

func (d *Decoder) Decode(v interface{}) error

Decode url into struct/url.Values

type TypeError

type TypeError struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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