urlx

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: MIT Imports: 5 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormFromMap

func FormFromMap(m map[string]string) url.Values

func GetBool

func GetBool(form url.Values, key string) (bool, error)

func GetBoolPtr

func GetBoolPtr(form url.Values, key string) (*bool, error)

func GetBoolSlice

func GetBoolSlice(form url.Values, key string) ([]bool, error)

func GetBoolValue

func GetBoolValue(form url.Values, key string) (*wrapperspb.BoolValue, error)

func GetBoolValueSlice

func GetBoolValueSlice(form url.Values, key string) ([]*wrapperspb.BoolValue, error)

func GetFloat

func GetFloat[Float constraints.Float](form url.Values, key string) (Float, error)

func GetFloat32Value

func GetFloat32Value(form url.Values, key string) (*wrapperspb.FloatValue, error)

func GetFloat32ValueSlice

func GetFloat32ValueSlice(form url.Values, key string) ([]*wrapperspb.FloatValue, error)

func GetFloat64Value

func GetFloat64Value(form url.Values, key string) (*wrapperspb.DoubleValue, error)

func GetFloat64ValueSlice

func GetFloat64ValueSlice(form url.Values, key string) ([]*wrapperspb.DoubleValue, error)

func GetFloatPtr

func GetFloatPtr[Float constraints.Float](form url.Values, key string) (*Float, error)

func GetFloatSlice

func GetFloatSlice[Float constraints.Float](form url.Values, key string) ([]Float, error)

func GetInt

func GetInt[Signed constraints.Signed](form url.Values, key string) (Signed, error)

func GetInt32Value

func GetInt32Value(form url.Values, key string) (*wrapperspb.Int32Value, error)

func GetInt32ValueSlice

func GetInt32ValueSlice(form url.Values, key string) ([]*wrapperspb.Int32Value, error)

func GetInt64Value

func GetInt64Value(form url.Values, key string) (*wrapperspb.Int64Value, error)

func GetInt64ValueSlice

func GetInt64ValueSlice(form url.Values, key string) ([]*wrapperspb.Int64Value, error)

func GetIntPtr

func GetIntPtr[Signed constraints.Signed](form url.Values, key string) (*Signed, error)

func GetIntSlice

func GetIntSlice[Signed constraints.Signed](form url.Values, key string) ([]Signed, error)

func GetUint

func GetUint[Unsigned constraints.Unsigned](form url.Values, key string) (Unsigned, error)

func GetUint32Value

func GetUint32Value(form url.Values, key string) (*wrapperspb.UInt32Value, error)

func GetUint32ValueSlice

func GetUint32ValueSlice(form url.Values, key string) ([]*wrapperspb.UInt32Value, error)

func GetUint64Value

func GetUint64Value(form url.Values, key string) (*wrapperspb.UInt64Value, error)

func GetUint64ValueSlice

func GetUint64ValueSlice(form url.Values, key string) ([]*wrapperspb.UInt64Value, error)

func GetUintPtr

func GetUintPtr[Unsigned constraints.Unsigned](form url.Values, key string) (*Unsigned, error)

func GetUintSlice

func GetUintSlice[Unsigned constraints.Unsigned](form url.Values, key string) ([]Unsigned, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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