Skip to content

godoctor/godoctor

Repository files navigation

The Go Doctor

⚠️ Deprecated — this project is no longer actively maintained.

gopls — the official Go language server maintained by the Go team — has superseded the Go Doctor. It provides equivalent (and more) refactoring functionality and is actively developed. New users should use gopls; existing users are encouraged to migrate.

The source remains available here for historical reference. The previous project website at gorefactor.org is being retired. The user manual and install guide are now hosted via GitHub Pages: https://godoctor.github.io/godoctor/

GoDoc Project Status

A golang refactoring tool

                                 .,;;::;;;;::;,.                    
                           .'.......         ......'.               
                  .'.'. .,,'......        .''...''. .,;:'.''.       
                ':;,..::..,'.   ..',     ,.       .,.  ';...,c.     
              ',ccdXXx. .; .       .:   c.,c;       l    dXXklc,,.  
            .:;cc .:O.  ;,0XO,      ;.  l;X0d;      c.   .kl'::,;:' 
           .l,, ''.:'   ,:kOc'      ;.  ,:lo;.     .:     'l'.  .;;'
           ;,;    'c     ;,       .;''clc:;'.    .,.       :     ;.;
           ;,;    :,      ........:',kKXKx';:.....         :.    ;.;
           .c,'   l'              :    .    :.             ;.   .;',
            ,;;.  l.              .',.,:.',.'              ;;   ;,: 
             .;;, l.                ; .: .;                ,: ';;,  
              .';:c:                ..',.'.                ;l,:'.   
                 .,c:,.                                 .';c;'      
                   c',c:,'                           .',c,,cc       
         .'....'.  ;   .';c;...                  ..,c:'..  .l       
        ,' .''. ,. :       ''::''.           .'';c,'.      .o       
        ;  :  : .l.c.         ..';ll.......:l:'...         .x'',,   
        .:..''..c,.l.             ;;.     .,:               d;.cl.  
          ....:cc..c                .''.''.                 l,..    
              .c;' :                  lc;                   c'      
               .:;l:                  l:,                   c,      
                 ;::.                 l:,                   :,      
                  :c;'                l:'                   :,      
                  ,o;;,.             ;;;                    c'      
                  '; ';:,'.        ';::                     l.      
                   :   ..;c:,'.',;c;'.                     .l       
                   :       .......                         ;.       
                   ':                                     ;,        
                    ,;                                   :'         
                     .;.                               .l.          
                     .,:''.                        .','..,,         
                    :;'  .:l,''''............''''''..,. .;:,        
                    'c;.''       ............         .'.,.         
                      ,:.                                           

Installation

git clone https://github.com/godoctor/godoctor
cd godoctor && go install

For vim users see https://github.com/godoctor/godoctor.vim

Usage

It's recommended to use godoctor with an editor, though godoctor can be used directly.

$ godoctor

The godoctor command without any arguments provides usage information. For full documentation, see:

$ godoctor -doc

About

Go Doctor - The Golang Refactoring Engine

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages