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

Method Set

internal/cmdutil/dryrun.go:96–99  ·  view source on GitHub ↗

Set adds an extra context field. Values are also used to resolve :key placeholders in URLs.

(key string, value interface{})

Source from the content-addressed store, hash-verified

94
95// Set adds an extra context field. Values are also used to resolve :key placeholders in URLs.
96func (d *DryRunAPI) Set(key string, value interface{}) *DryRunAPI {
97 d.extra[key] = value
98 return d
99}
100
101// resolveURL replaces :key placeholders in url with path-escaped values from extra.
102func (d *DryRunAPI) resolveURL(rawURL string) string {

Callers 3

PrintDryRunWithFileFunction · 0.95
PrintDryRunFunction · 0.95
buildWikiMoveDryRunFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected