form

package
v0.0.0-...-ee354c3 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unmarshal

func Unmarshal(input url.Values, target any) error

Unmarshal parses the url.Values data and stores the result in the value pointed to by target. If target is nil or not a pointer, Unmarshal returns an InvalidUnmarshalError.

Unmarshal is currently still to a few primitive types and basic recursion.

Types

type InvalidUnmarshalError

type InvalidUnmarshalError struct {
	Type reflect.Type
}

func (*InvalidUnmarshalError) Error

func (e *InvalidUnmarshalError) Error() string

Jump to

Keyboard shortcuts

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