MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / Set

Method Set

testutil/options_builder.go:16–19  ·  view source on GitHub ↗

Set sets the argument at the specified index to the string representation of the value.

(index int, value any)

Source from the content-addressed store, hash-verified

14
15// Set sets the argument at the specified index to the string representation of the value.
16func (a *OptionArgs) Set(index int, value any) *OptionArgs {
17 a.args[index] = fmt.Sprintf("%v", value)
18 return a
19}
20
21// String returns the string representation of the arguments, trimming empty arguments from the end.
22func (a *OptionArgs) String() string {

Callers 1

SetHeadersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected