MCPcopy Index your code
hub / github.com/larksuite/cli / Params

Method Params

internal/cmdutil/dryrun.go:77–82  ·  view source on GitHub ↗

Params sets query parameters on the last added call.

(params map[string]interface{})

Source from the content-addressed store, hash-verified

75
76// Params sets query parameters on the last added call.
77func (d *DryRunAPI) Params(params map[string]interface{}) *DryRunAPI {
78 if n := len(d.calls); n > 0 {
79 d.calls[n-1].Params = params
80 }
81 return d
82}
83
84// Desc sets a description on the last added call.
85// If no calls exist yet, sets the top-level description.

Callers 3

PrintDryRunWithFileFunction · 0.95
PrintDryRunFunction · 0.95
TestDryRunAPI_WithParamsFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestDryRunAPI_WithParamsFunction · 0.36