HelpMessage describes a contextual help message.
| 44 | |
| 45 | // HelpMessage describes a contextual help message. |
| 46 | type HelpMessage struct { |
| 47 | // Command is set if the message is about a statement. |
| 48 | Command string |
| 49 | // Function is set if the message is about a built-in function. |
| 50 | Function string |
| 51 | |
| 52 | // HelpMessageBody contains the details of the message. |
| 53 | HelpMessageBody |
| 54 | } |
| 55 | |
| 56 | // String implements the fmt.String interface. |
| 57 | func (h *HelpMessage) String() string { |
nothing calls this directly
no outgoing calls
no test coverage detected