MCPcopy Index your code
hub / github.com/gotenberg/gotenberg / String

Method String

pkg/modules/api/formdata.go:72–74  ·  view source on GitHub ↗

String binds a form field to a string variable. var foo string ctx.FormData().String("foo", &foo, "bar")

(key string, target *string, defaultValue string)

Source from the content-addressed store, hash-verified

70//
71// ctx.FormData().String("foo", &foo, "bar")
72func (form *FormData) String(key string, target *string, defaultValue string) *FormData {
73 return form.mustValue(key, target, defaultValue)
74}
75
76// MandatoryString binds a form field to a string variable. It populates
77// an error if the value is empty or the "key" does not exist.

Callers 15

FilterDeadlineFunction · 0.80
GarbageCollectFunction · 0.80
CommandFunction · 0.80
CommandContextFunction · 0.80
ExecMethod · 0.80
pipeOutputMethod · 0.80
BuildDebugFunction · 0.80
DecideOutboundFunction · 0.80
RoundTripMethod · 0.80
DialPinnedFunction · 0.80

Calls 1

mustValueMethod · 0.95