StringToGoComment renders a possible multi-line string as a valid Go-Comment. Each line is prefixed as a comment.
(in string)
| 916 | // StringToGoComment renders a possible multi-line string as a valid Go-Comment. |
| 917 | // Each line is prefixed as a comment. |
| 918 | func StringToGoComment(in string) string { |
| 919 | return stringToGoCommentWithPrefix(in, "") |
| 920 | } |
| 921 | |
| 922 | // StringWithTypeNameToGoComment renders a possible multi-line string as a |
| 923 | // valid Go-Comment, including the name of the type being referenced. Each line |