mirror of
https://github.com/golang/go
synced 2024-11-05 15:06:09 -07:00
rename/refactor: fix typo in gorename usage message
Fixes issue #12981 Change-Id: I5faf8534153b13b967ce5d8da4d56bdd2bb4c501 Reviewed-on: https://go-review.googlesource.com/16053 Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
parent
f53a5581bc
commit
5b9ecb9f68
@ -96,11 +96,11 @@ anything else that could cause the resulting program not to compile.
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
% gorename -offset file.go:#123 -to foo
|
$ gorename -offset file.go:#123 -to foo
|
||||||
|
|
||||||
Rename the object whose identifier is at byte offset 123 within file file.go.
|
Rename the object whose identifier is at byte offset 123 within file file.go.
|
||||||
|
|
||||||
% gorename -from \"bytes\".Buffer.Len' -to Size
|
$ gorename -from '"bytes".Buffer.Len' -to Size
|
||||||
|
|
||||||
Rename the "Len" method of the *bytes.Buffer type to "Size".
|
Rename the "Len" method of the *bytes.Buffer type to "Size".
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user