feat: go clean

main
sudo pacman -Syu 2023-06-04 20:57:18 +07:00
parent 0916ba1f91
commit 3fbd9cb099
3 changed files with 10 additions and 11 deletions

View File

@ -14,16 +14,5 @@ Steps:
## 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/google/go-github

View File

@ -837,6 +837,10 @@ fieldalignment -fix ./internal/business/<span class="pl-k">*</span>.go</pre>
<div class="highlight highlight-source-shell">
<pre>gofmt -w -r <span class="pl-s"><span class="pl-pds">'</span>"github.com/Sirupsen/logrus" -&gt; "github.com/sirupsen/logrus"<span class="pl-pds">'</span></span> <span class="pl-k">*</span>.go</pre>
</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>
<a
id="user-content-thanks"

View File

@ -431,6 +431,12 @@ Change import:
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
- [Uber Go Style Guide](https://github.com/uber-go/guide/blob/master/style.md)