MCPcopy
hub / github.com/larksuite/cli / String

Method String

internal/output/format_type.go:37–48  ·  view source on GitHub ↗

String returns the string representation of a Format.

()

Source from the content-addressed store, hash-verified

35
36// String returns the string representation of a Format.
37func (f Format) String() string {
38 switch f {
39 case FormatNDJSON:
40 return "ndjson"
41 case FormatTable:
42 return "table"
43 case FormatCSV:
44 return "csv"
45 default:
46 return "json"
47 }
48}

Calls

no outgoing calls