MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / String

Method String

pkg/sql/parser/help.go:44–49  ·  view source on GitHub ↗

String implements the fmt.String interface.

()

Source from the content-addressed store, hash-verified

42
43// String implements the fmt.String interface.
44func (h *HelpMessage) String() string {
45 var buf bytes.Buffer
46 buf.WriteString(helpHintPrefix + "\n")
47 h.Format(&buf)
48 return buf.String()
49}
50
51// Format prints out details about the message onto the specified output stream.
52func (h *HelpMessage) Format(w io.Writer) {

Callers 1

RunShowSyntaxFunction · 0.95

Calls 2

FormatMethod · 0.95
StringMethod · 0.65

Tested by

no test coverage detected