MCPcopy
hub / github.com/gofiber/fiber / Set

Method Set

client/request.go:898–900  ·  view source on GitHub ↗

Set sets a single form field, overriding previously set values.

(key, val string)

Source from the content-addressed store, hash-verified

896
897// Set sets a single form field, overriding previously set values.
898func (f *FormData) Set(key, val string) {
899 f.Args.Set(key, val)
900}
901
902// AddWithMap adds multiple form fields from a map.
903func (f *FormData) AddWithMap(m map[string][]string) {

Callers 1

SetWithMapMethod · 0.95

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected