[HN Gopher] Rewriting Go source code with AST tooling
       ___________________________________________________________________
        
       Rewriting Go source code with AST tooling
        
       Author : picture
       Score  : 13 points
       Date   : 2021-10-02 13:03 UTC (9 hours ago)
        
 (HTM) web link (eli.thegreenplace.net)
 (TXT) w3m dump (eli.thegreenplace.net)
        
       | akshayshah wrote:
       | This approach is powerful, but also laborious - at least in my
       | experience, it's too much work for relatively simple
       | transformations.
       | 
       | I generally use gopatch instead. It uses the same mechanism under
       | the hood, but the patch files are much less effort to write.
       | 
       | https://github.com/uber-go/gopatch
        
       ___________________________________________________________________
       (page generated 2021-10-02 23:02 UTC)