parameter

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: MIT Imports: 12 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetForm

func GetForm(r *http.Request, key string) string

GetForm ... リクエストからFormパラメータをstringで取得する

func GetFormByBool

func GetFormByBool(ctx context.Context, r *http.Request, key string) (bool, error)

GetFormByBool ... リクエストからFormパラメータをboolで取得する

func GetFormByFloat64

func GetFormByFloat64(ctx context.Context, r *http.Request, key string) (float64, error)

GetFormByFloat64 ... リクエストからFormパラメータをfloat64で取得する

func GetFormByInt

func GetFormByInt(ctx context.Context, r *http.Request, key string) (int, error)

GetFormByInt ... リクエストからFormパラメータをintで取得する

func GetFormByInt64

func GetFormByInt64(ctx context.Context, r *http.Request, key string) (int64, error)

GetFormByInt64 ... リクエストからFormパラメータをint64で取得する

func GetFormByIntSlice

func GetFormByIntSlice(ctx context.Context, r *http.Request, key string) []int

GetFormByIntSlice ... リクエストからFormパラメータをintのsliceで取得する

func GetFormBySlice

func GetFormBySlice(ctx context.Context, r *http.Request, key string) []string

GetFormBySlice ... リクエストからFormパラメータをsliceで取得する

func GetFormFile

func GetFormFile(r *http.Request, key string) (multipart.File, *multipart.FileHeader, error)

GetFormFile ... リクエストからファイルを取得する

func GetForms

func GetForms(ctx context.Context, r *http.Request, dst any) error

GetForms ... リクエストからFormパラメータを取得する

func GetJSON

func GetJSON(r *http.Request, dst any) error

GetJSON ... リクエストからJSONパラメータを取得する

func GetURL

func GetURL(r *http.Request, key string) string

GetURL ... リクエストからURLパラメータを取得する

func GetURLByFloat64

func GetURLByFloat64(ctx context.Context, r *http.Request, key string) (float64, error)

GetURLByFloat64 ... リクエストからURLパラメータをfloat64で取得する

func GetURLByInt

func GetURLByInt(ctx context.Context, r *http.Request, key string) (int, error)

GetURLByInt ... リクエストからURLパラメータをintで取得する

func GetURLByInt64

func GetURLByInt64(ctx context.Context, r *http.Request, key string) (int64, error)

GetURLByInt64 ... リクエストからURLパラメータをint64で取得する

Types

This section is empty.

Jump to

Keyboard shortcuts

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