blob: 295f4daa2d432c0a36cbbc8219e30aed731e46c7 [file] [log] [blame]
updates import statements
Usage:
gopls [flags] imports [imports-flags] <filename>
Example: update imports statements in a file:
$ gopls imports -w internal/lsp/cmd/check.go
imports-flags:
-d,-diff
display diffs instead of rewriting files
-w,-write
write result to (source) file instead of stdout