MCPcopy Create free account
hub / github.com/cli/cli / Export

Method Export

pkg/cmd/discussion/client/types.go:265–270  ·  view source on GitHub ↗

Export returns the reaction group as a map for JSON output.

()

Source from the content-addressed store, hash-verified

263
264// Export returns the reaction group as a map for JSON output.
265func (rg ReactionGroup) Export() map[string]interface{} {
266 return map[string]interface{}{
267 "content": rg.Content,
268 "totalCount": rg.TotalCount,
269 }
270}
271
272// Domain-level filter constants for state.
273const (

Callers 3

ExportDataMethod · 0.45
ExportMethod · 0.45
ExportReplyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected