Skip to content

Commit e0e99df

Browse files
committed
Join strings with space rather than newline
1 parent 4f33c16 commit e0e99df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ func isLocalType(t *types.Type, typePkgMap map[*types.Type]*apiPackage) bool {
348348

349349
func renderComments(s []string, markdown bool) string {
350350
s = filterCommentTags(s)
351-
doc := strings.Join(s, "\n")
351+
doc := strings.Join(s, " ")
352352

353353
if markdown {
354354
// TODO(ahmetb): when a comment includes stuff like "http://<service>"

0 commit comments

Comments
 (0)