ä»ã¾ã§ golang ã§å¤æ°åãé¢æ°åã®ãªãã¼ã ã«ã¯ gofmt ã® -r ãªãã·ã§ã³ã使ã£ã¦ãã¾ãããããããã㯠gorename ã使ãã¾ãããã ææ³ã解æãã¦æ£ãããªãã¼ã ãã¦ãããã®ã§ãgofmt ã§èµ·ãå¾ã誤çãå¿é ããã¾ãããã¤ã³ã¹ãã¼ã«ã¯ä»¥ä¸ã®æ§ã«å®è¡ãã¾ãã $ go get golang.org/x/tools/cmd/gorename 使ç¨æ¹æ³ã¯ä»¥ä¸ã®éãã gorename: precise type-safe renaming of identifiers in Go source code. Usage: gorename (-from <spec> | -offset <file>:#<byte-offset>) -to <name> [-force] You must specify the object (named entity) to rename
{{#tags}}- {{label}}
{{/tags}}