MCPcopy
hub / github.com/minio/minio-go / toQueryValues

Method toQueryValues

api-prompt-options.go:73–84  ·  view source on GitHub ↗

toQueryValues - Convert the reqParams in Options to query string parameters.

()

Source from the content-addressed store, hash-verified

71
72// toQueryValues - Convert the reqParams in Options to query string parameters.
73func (o *PromptObjectOptions) toQueryValues() url.Values {
74 urlValues := make(url.Values)
75 if o.reqParams != nil {
76 for key, values := range o.reqParams {
77 for _, value := range values {
78 urlValues.Add(key, value)
79 }
80 }
81 }
82
83 return urlValues
84}

Callers

nothing calls this directly

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected