MCPcopy
hub / github.com/gin-gonic/gin / PostFormArray

Method PostFormArray

context.go:633–636  ·  context.go::Context.PostFormArray

PostFormArray returns a slice of strings for a given form key. The length of the slice depends on the number of params with the given key.

(key string)

Source from the content-addressed store, hash-verified

631// PostFormArray returns a slice of strings for a given form key.
632// The length of the slice depends on the number of params with the given key.
633func (c *Context) PostFormArray(key string) (values []string) {
634 values, _ = c.GetPostFormArray(key)
635 return
636}
637
638func (c *Context) initFormCache() {
639 if c.formCache == nil {

Callers 1

Calls 1

GetPostFormArrayMethod · 0.95

Tested by 1