| 1 |
print workspace statistics |
| 2 |
|
| 3 |
Usage: |
| 4 |
gopls [flags] stats |
| 5 |
|
| 6 |
Load the workspace for the current directory, and output a JSON summary of |
| 7 |
workspace information relevant to performance. As a side effect, this command |
| 8 |
populates the gopls file cache for the current workspace. |
| 9 |
|
| 10 |
By default, this command may include output that refers to the location or |
| 11 |
content of user code. When the -anon flag is set, fields that may refer to user |
| 12 |
code are hidden. |
| 13 |
|
| 14 |
Example: |
| 15 |
$ gopls stats -anon |
| 16 |
-anon |
| 17 |
hide any fields that may contain user names, file names, or source code |