urlx

package
v0.0.0-...-a56566a Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 5 Imported by: 0

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(queries url.Values, key string) func() (bool, error)

func GetBoolPtr

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

func GetBoolSlice

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

func GetBoolValue

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

func GetBoolValueSlice

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

func GetFloat

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

func GetFloat32Value

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

func GetFloat32ValueSlice

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

func GetFloat64Value

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

func GetFloat64ValueSlice

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

func GetFloatPtr

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

func GetFloatSlice

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

func GetInt

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

func GetInt32Value

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

func GetInt32ValueSlice

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

func GetInt64Value

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

func GetInt64ValueSlice

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

func GetIntPtr

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

func GetIntSlice

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

func GetUint

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

func GetUint32Value

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

func GetUint32ValueSlice

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

func GetUint64Value

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

func GetUint64ValueSlice

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

func GetUintPtr

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

func GetUintSlice

func GetUintSlice[Unsigned constraints.Unsigned](queries url.Values, key string) func() ([]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