8000 go-tools/doc/utilities.html at 2019.2.2 · dominikh/go-tools · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.18 KB

utilities.html

File metadata and controls

43 lines (34 loc) · 1.18 KB
<!--(
"Title": "Utilities"
)-->
<h2 id="overview">Overview</h2>
<p>
In addition to staticcheck, we provide a number of smaller
utilities. Some of them are useful for integrating
staticcheck in your workflows, while others provide
specific code insights.
</p>
<p>
All of these utilities can be used manually from the command line,
but their true purpose is integration with scripts and editors.
</p>
<h3 id="keyify">keyify</h3>
<p style="color: red">Coming soon</p>
<h3 id="rdeps">rdeps</h3>
<p>
The rdeps utility takes a list of Go packages and returns their
reverse dependencies. One application for this tool is Continuous
Integration and testing only those packages that are affected by a
commit.
</p>
<p>
Packages can be provided as arguments, or on standard input if the
<code>-stdin</code> flag is provided. If the <code>-r</code> flag is
used, reverse dependencies will be printed recursively.
</p>
<h3 id="structlayout">structlayout</h3>
<p style="color: red">Coming soon</p>
<h4 id="structlayout-optimize">structlayout-optimize</h4>
<p style="color: red">Coming soon</p>
<h4 id="structlayout-pretty">structlayout-pretty</h4>
<p style="color: red">Coming soon</p>
0