Skip to content

Go: unify comment parsing with other languages - #8730

Merged
greg-at-moderne merged 1 commit into
mainfrom
greg-double-comment-go
Aug 31, 2026
Merged

Go: unify comment parsing with other languages#8730
greg-at-moderne merged 1 commit into
mainfrom
greg-double-comment-go

Conversation

@greg-at-moderne

@greg-at-moderne greg-at-moderne commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

What: Fix/Amend how comments are parsed in Go language, including:

  • removing the redundant Kind field in Comment, Multiline is the field to distinguish between // and /* */
  • making sure the opening // characters are not part of the Comment.Text

Why

  • Unify with other languages

@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Aug 31, 2026
@greg-at-moderne greg-at-moderne changed the title Go: unify comment parsing with other langauges Go: unify comment parsing with other languages Aug 31, 2026
@greg-at-moderne
greg-at-moderne marked this pull request as ready for review August 31, 2026 12:45
@greg-at-moderne
greg-at-moderne merged commit e5c28bf into main Aug 31, 2026
1 check passed
@greg-at-moderne
greg-at-moderne deleted the greg-double-comment-go branch August 31, 2026 12:45
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant