HelpMessage describes a contextual help message.
| 29 | |
| 30 | // HelpMessage describes a contextual help message. |
| 31 | type HelpMessage struct { |
| 32 | // Command is set if the message is about a statement. |
| 33 | Command string |
| 34 | // Function is set if the message is about a built-in function. |
| 35 | Function string |
| 36 | |
| 37 | // HelpMessageBody contains the details of the message. |
| 38 | HelpMessageBody |
| 39 | } |
| 40 | |
| 41 | // String implements the fmt.String interface. |
| 42 | func (h *HelpMessage) String() string { |
nothing calls this directly
no outgoing calls
no test coverage detected