feat: go clean
parent
0916ba1f91
commit
3fbd9cb099
11
README.md
11
README.md
|
@ -14,16 +14,5 @@ Steps:
|
||||||
|
|
||||||
## Thanks
|
## Thanks
|
||||||
|
|
||||||
- https://motherfuckingwebsite.com/
|
|
||||||
- http://bettermotherfuckingwebsite.com/
|
|
||||||
- https://evenbettermotherfucking.website/
|
|
||||||
- https://thebestmotherfucking.website/
|
|
||||||
- https://perfectmotherfuckingwebsite.com/
|
|
||||||
- https://primer.style/design/foundations/color
|
|
||||||
- https://primer.style/primitives/colors
|
|
||||||
- https://github.com/arrowtype/recursive
|
|
||||||
- https://github.com/be5invis/Iosevka
|
|
||||||
- https://github.com/ntk148v/iosevkawebfont
|
|
||||||
- https://gist.github.com/JoeyBurzynski/617fb6201335779f8424ad9528b72c41
|
|
||||||
- https://github.com/sindresorhus/github-markdown-css
|
- https://github.com/sindresorhus/github-markdown-css
|
||||||
- https://github.com/google/go-github
|
- https://github.com/google/go-github
|
||||||
|
|
|
@ -837,6 +837,10 @@ fieldalignment -fix ./internal/business/<span class="pl-k">*</span>.go</pre>
|
||||||
<div class="highlight highlight-source-shell">
|
<div class="highlight highlight-source-shell">
|
||||||
<pre>gofmt -w -r <span class="pl-s"><span class="pl-pds">'</span>"github.com/Sirupsen/logrus" -> "github.com/sirupsen/logrus"<span class="pl-pds">'</span></span> <span class="pl-k">*</span>.go</pre>
|
<pre>gofmt -w -r <span class="pl-s"><span class="pl-pds">'</span>"github.com/Sirupsen/logrus" -> "github.com/sirupsen/logrus"<span class="pl-pds">'</span></span> <span class="pl-k">*</span>.go</pre>
|
||||||
</div>
|
</div>
|
||||||
|
<p>Cleanup if storage is full:</p>
|
||||||
|
<div class="highlight highlight-source-shell">
|
||||||
|
<pre>go clean -cache -testcache -modcache -fuzzcache -x</pre>
|
||||||
|
</div>
|
||||||
<h2>
|
<h2>
|
||||||
<a
|
<a
|
||||||
id="user-content-thanks"
|
id="user-content-thanks"
|
||||||
|
|
|
@ -431,6 +431,12 @@ Change import:
|
||||||
gofmt -w -r '"github.com/Sirupsen/logrus" -> "github.com/sirupsen/logrus"' *.go
|
gofmt -w -r '"github.com/Sirupsen/logrus" -> "github.com/sirupsen/logrus"' *.go
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Cleanup if storage is full:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
go clean -cache -testcache -modcache -fuzzcache -x
|
||||||
|
```
|
||||||
|
|
||||||
## Thanks
|
## Thanks
|
||||||
|
|
||||||
- [Uber Go Style Guide](https://github.com/uber-go/guide/blob/master/style.md)
|
- [Uber Go Style Guide](https://github.com/uber-go/guide/blob/master/style.md)
|
||||||
|
|
Loading…
Reference in New Issue