query

package
v1.0.0-beta.23 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMap

func GetMap(query map[string][]string, key string) (dicts map[string]interface{}, exists bool)

GetMap returns a map, which satisfies conditions.

func GetQueryNestedMap

func GetQueryNestedMap(c *gin.Context, key string) (map[string]interface{}, bool)

GetQueryNestedMap returns a map for a given query key, plus a boolean value whether at least one value exists for the given key. In contrast to GetQueryMap it handles nesting in query maps like key[foo][bar]=value.

func QueryNestedMap

func QueryNestedMap(c *gin.Context, key string) (dicts map[string]interface{})

QueryNestedMap returns a map for a given query key. In contrast to QueryMap it handles nesting in query maps like key[foo][bar]=value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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