Documentation
¶
Index ¶
- func First[T any](t T, _ interface{}) T
- func FirstEl[T any](lst []any) *T
- func FirstQuery[T any](lst []string) *T
- func Index[E comparable](s []E, v E) int
- func Parse[T any](w http.ResponseWriter, r *http.Request) *T
- func ParseValue[T PathType](r *http.Request, key string) T
- func ToBool(el interface{}) bool
- func ToInt(el interface{}) int
- func ToString(el interface{}) string
- func ToUint(el interface{}) uint64
- type PathType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FirstQuery ¶
func Index ¶
func Index[E comparable](s []E, v E) int
Types ¶
Click to show internal directories.
Click to hide internal directories.