Skip to content

proposal: go/ast: add CommentGroup.Raw function #67047

Description

@oldme-git

Proposal Details

Sometimes, We need to get the raw (original) comments to generate some go template files. But CommentGroup.Text does not get the raw (original) comments. This makes it difficult to add comments to the generated template file.
Thank you for your contribution to go! Have a good day!

PR here: https://go-review.googlesource.com/c/go/+/579475

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status
    Incoming

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions