[//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.2.0 to 0.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/golang/tools/releases">golang.org/x/tools's releases</a>.</em></p> <blockquote> <h2>gopls/v0.5.0</h2> <p>A full list of issues closed can be found in the <a href="https://github.com/golang/go/milestone/138?closed=1">gopls/v0.5.0 milestone</a>.</p> <h2>Memory usage</h2> <ul> <li>Rewrite of caching model, resulting in significant memory usage improvements (<a href="https://github.com/heschik"><code>@heschik</code></a>).</li> </ul> <h2>New features</h2> <ul> <li>Extract to function: Support for extracting code blocks that contain return statements (<a href="https://github.com/joshbaum"><code>@joshbaum</code></a>).</li> <li>Workspace symbols: Support for <a href="https://github.com/junegunn/fzf#search-syntax">fzf-style search syntax</a> (<a href="https://github.com/findleyr"><code>@findleyr</code></a>). The following syntax is supported: <ul> <li><code>'</code> for exact matching</li> <li><code>^</code> for prefix matching</li> <li><code>$</code> for suffix matching</li> </ul> </li> </ul> <p><strong>Note</strong>: This feature does not yet work in VS Code. See <a href="https://github-redirect.dependabot.com/golang/vscode-go/issues/647">golang/vscode-go#647</a> and <a href="https://github-redirect.dependabot.com/microsoft/vscode/issues/106788">microsoft/vscode#106788</a>.</p> <ul> <li>An experimental new code lens to view GC optimization details (<a href="https://github.com/pjweinb"><code>@pjweinb</code></a>). Once the code lens is enabled, you will see a <code>Toggle gc details</code> annotation at the top of your file. Clicking it will show optimization diagnostics produced by the Go compiler, and clicking it once again will hide these diagnostics. Enable the code lens by adding the following to your settings: <pre lang="json5"><code>"codelens": { "gc_details": true } </code></pre> </li> <li><code>go mod tidy</code> and <code>go mod vendor</code> code lenses for <code>go.mod</code> files (<a href="https://github.com/dandua98"><code>@dandua98</code></a>).</li> <li>Support for filling in matching in-scope variables instead of just empty values in fillstruct and fillreturns (<a href="https://github.com/joshbaum"><code>@joshbaum</code></a>).</li> <li>Autocompletion within import statements (<a href="https://github.com/dandua98"><code>@dandua98</code></a>).</li> <li>Autocompletion within package declarations (<a href="https://github.com/dandua98"><code>@dandua98</code></a>).</li> </ul> <h2>Improvements</h2> <ul> <li>Improvements to workspace symbols ranking and fuzzy matching (<a href="https://github.com/findleyr"><code>@findleyr</code></a>, <a href="https://github.com/myitcv"><code>@myitcv</code></a>).</li> <li>Better completion suggestions in type switch case clauses and for calls to <code>append</code>, function literals, and unnamed types (<a href="https://github.com/muirdm"><code>@muirdm</code></a>).</li> </ul> <h2>Thank you</h2> <p>Thank you to everyone who contributed to this release!</p> <p><a href="https://github.com/heschik"><code>@heschik</code></a> <a href="https://github.com/findleyr"><code>@findleyr</code></a> <a href="https://github.com/pjweinb"><code>@pjweinb</code></a> <a href="https://github.com/joshbaum"><code>@joshbaum</code></a> <a href="https://github.com/mcjcloud"><code>@mcjcloud</code></a> <a href="https://github.com/dandua98"><code>@dandua98</code></a> <a href="https://github.com/muirdm"><code>@muirdm</code></a> <a href="https://github.com/leitzler"><code>@leitzler</code></a> <a href="https://github.com/myitcv"><code>@myitcv</code></a> <a href="https://github.com/matloob"><code>@matloob</code></a> <a href="https://github.com/tennashi"><code>@tennashi</code></a> <a href="https://github.com/ainar-g"><code>@ainar-g</code></a> <a href="https://github.com/hasheddan"><code>@hasheddan</code></a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="7db99dd126
"><code>7db99dd</code></a> go.mod: update golang.org/x dependencies</li> <li><a href="1e0dff28f4
"><code>1e0dff2</code></a> gopls/internal/regtest: avoid race in TestSwitchFromGOPATHToModuleMode</li> <li><a href="0441b432ca
"><code>0441b43</code></a> gopls/internal/lsp/cache: use specific mutexes for module data</li> <li><a href="33071fbe1a
"><code>33071fb</code></a> internal/robustio: move robustio</li> <li><a href="b01e7a4e75
"><code>b01e7a4</code></a> gopls/internal/regtest/watch: don't run TestSwitchFromGOPATHToModuleMode</li> <li><a href="e417ea36ba
"><code>e417ea3</code></a> gopls: remove dead analysis code</li> <li><a href="1a08d01ac9
"><code>1a08d01</code></a> gopls/internal/lsp: update replace directives in go.mod for package renaming</li> <li><a href="eac36cb2ac
"><code>eac36cb</code></a> gopls/internal/regtest: port experimental workspace tests to go.work</li> <li><a href="224a61b354
"><code>224a61b</code></a> gopls/internal/lsp/source: delete Snapshot.WriteEnv method</li> <li><a href="81e741e32f
"><code>81e741e</code></a> gopls/internal/lsp/safetoken: funnel more calls through this package</li> <li>Additional commits viewable in <a href="https://github.com/golang/tools/compare/v0.2.0...v0.5.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
GoReleaser
Deliver Go binaries as fast and easily as possible.
GoReleaser builds Go binaries for several platforms, creates a GitHub release and then pushes a Homebrew formula to a tap repository. All that wrapped in your favorite CI.
Get GoReleaser
Documentation
Documentation is hosted live at https://goreleaser.com
Community
You have questions, need support and or just want to talk about GoReleaser?
Here are ways to get in touch with the GoReleaser community:
You can find the links above and all others here.
Code of Conduct
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. We appreciate your contribution. Please refer to our contributing guidelines for further information.
Badges
Sponsors
Does your company use goreleaser? Help keep the project bug-free and feature rich by sponsoring the project.
Backers
Love our work and community? Become a backer.
Contributors
This project exists thanks to all the people who contribute. [Contribute].