You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Dmytro Shteflyuk (Jira)" <ji...@apache.org> on 2026/05/19 12:27:00 UTC

[jira] [Resolved] (THRIFT-6011) Make compiled Go code formatting compatible with gofmt

     [ https://issues.apache.org/jira/browse/THRIFT-6011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmytro Shteflyuk resolved THRIFT-6011.
--------------------------------------
    Fix Version/s: 0.24.0
       Resolution: Fixed

> Make compiled Go code formatting compatible with gofmt
> ------------------------------------------------------
>
>                 Key: THRIFT-6011
>                 URL: https://issues.apache.org/jira/browse/THRIFT-6011
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Go - Compiler
>            Reporter: Dmytro Shteflyuk
>            Assignee: Dmytro Shteflyuk
>            Priority: Major
>             Fix For: 0.24.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> In a discussion for THRIFT-5969, [~fishywang] playfully [said|https://issues.apache.org/jira/browse/THRIFT-5969?focusedCommentId=18077949&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-18077949]:
> {quote}There are certainly some low hanging fruits in the compiler (actually I should have already got most of them previously, but it won't surprise me if I missed some). The problem is that after low hanging fruits, it can become annoying quickly (mostly to align whitespaces between field members, so you need to first iterate over them to get what's the longest one, and then pad everything else).
> If you want to give it a go I would be happy to help you review it {quote}
> The goal of this ticket is to make compiler output 100% compatible with gofmt



--
This message was sent by Atlassian Jira
(v8.20.10#820010)