Help us shape the future of Go! Take the 2026 Go Developer Survey

cast

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnyToHeaders

func AnyToHeaders(v interface{}) (http.Header, error)

AnyToHeaders cast to http.Header

func AnyToURLValues

func AnyToURLValues(v interface{}) (url.Values, error)

AnyToURLValues cast to url.Values

func ArrayToURLValues

func ArrayToURLValues[T string | interface{} | map[string]interface{} | map[string]string](values url.Values, input []T) error

ArrayToURLValues cast array to url values

func MergeURLValues

func MergeURLValues(values, new url.Values)

MergeURLValues merge URL Values

Types

This section is empty.

Jump to

Keyboard shortcuts

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