MultilineDescription combines multiple lines into a newline separated string.
(lines ...string)
| 66 | |
| 67 | // MultilineDescription combines multiple lines into a newline separated string. |
| 68 | func MultilineDescription(lines ...string) string { |
| 69 | return strings.Join(lines, "\n") |
| 70 | } |
| 71 | |
| 72 | // ParseDescription takes a single string containing newline characters and splits |
| 73 | // it into a multiline description. All empty lines will be skipped. |
no outgoing calls