Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.7.0 to 0.8.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.8.0</h2> <h2>Go version support</h2> <h3>Support for Go 1.18</h3> <p>Version 0.8.0 of gopls supports features added to Go 1.18, specifically:</p> <ul> <li>Support for multi-module workspaces using <code>go.work</code> files.</li> <li>Diagnostics for Fuzz tests.</li> <li>Improved support for generics.</li> </ul> <p>To use these features, gopls must be installed using Go 1.18. See <a href="https://go.dev/dl/">go.dev/dl</a> for the latest status of Go 1.18 -- as of writing Go 1.18 is not yet released, but Go 1.18 RC1 may be used.</p> <h3>Dropped support for Go 1.12</h3> <p>Version 0.8.0 of gopls no longer supports building at Go 1.12. See <a href="https://redirect.github.com/golang/go/issues/50827">golang/go#50827</a> for more details.</p> <h2>New Features</h2> <h3><code>go.work</code> integration</h3> <p>Gopls now supports multi-module workspaces using <code>go.work</code> files. To use this feature, create a <code>go.work</code> file that includes the modules you want to work on, and then open your editor to the directory containing <code>go.work</code>. For more information, see the <a href="https://go.dev/ref/mod#workspaces"><code>go.work</code> reference</a>, or the <a href="https://github.com/golang/tools/blob/master/gopls/doc/workspace.md">gopls documentation</a> for multi-module workspaces.</p> <h3>Diagnostics for Fuzz tests</h3> <p>When writing <a href="https://go.dev/doc/fuzz/">Fuzz tests</a>, gopls provides diagnostics for invalid arguments to <code>Fuzz</code>. <img src="https://user-images.githubusercontent.com/57144380/156475335-0a277e11-c113-460a-837b-d066b42898a6.png" alt="image" /></p> <h3>Improved support for generics</h3> <h4>Honor the language version configured in <code>go.mod</code></h4> <p>gopls now provides diagnostics for language features based on the <a href="https://go.dev/ref/mod#go-mod-file-go"><code>go</code> directive</a> in the applicable <code>go.mod</code> file for a package.</p> <p>For some errors related to incompatible language versions, gopls offers a quick-fix to update the <code>go.mod</code> Go version. (note that if the <code>go.mod</code> file is open, it may need to be saved in order for language version changes to take effect) <img src="https://user-images.githubusercontent.com/57144380/156476752-7aacf34b-2835-41cb-b80d-7bf5103a43a0.gif" alt="gomodedit" /></p> <h4>Improved completion with type parameters</h4> <p>Gopls autocompletion is improved in several contexts when using generic types.</p> <p><img src="https://user-images.githubusercontent.com/57144380/156477933-a1aab4c7-06cd-4cac-85e6-a847b6515b91.gif" alt="genericvarcompl" /></p> <h3>New code action to add missing method stubs</h3> <p>Gopls now provides a code action to implement missing methods.</p> <p><img src="https://user-images.githubusercontent.com/57144380/156479262-482958e2-69a3-4a97-81a5-5dd27ac250ba.gif" alt="implementiface" /></p> <h3>Improved performance and accuracy for workspace symbol requests</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="5ef3193183
"><code>5ef3193</code></a> gopls/internal/lsp/source/typerefs: reexpress tests wrt ExternalRefs</li> <li><a href="c5f768a46c
"><code>c5f768a</code></a> go.mod: update golang.org/x dependencies</li> <li><a href="7c33a56129
"><code>7c33a56</code></a> gopls/internal/lsp/source: show both the original declaration and the value o...</li> <li><a href="4d205d81b5
"><code>4d205d8</code></a> gopls/doc: add instructions for using go.work with the Go distribution</li> <li><a href="d5076cc64d
"><code>d5076cc</code></a> gopls/internal/lsp/cache: don't trace a region for MetadataForFile</li> <li><a href="f79636135d
"><code>f796361</code></a> gopls/internal/lsp: add tracing instrumentation for all Server methods</li> <li><a href="e10450195e
"><code>e104501</code></a> gopls/internal/astutil: TestPurgeFuncBodies requires source code for std</li> <li><a href="6520870190
"><code>6520870</code></a> gopls/internal/lsp/source/typerefs: allow for duplicate decls</li> <li><a href="902fdcadc1
"><code>902fdca</code></a> gopls/internal/lsp/source/typerefs: purge func bodies before parsing</li> <li><a href="58c9a6328c
"><code>58c9a63</code></a> go/packages/internal/nodecount: count ast.Node frequency</li> <li>Additional commits viewable in <a href="https://github.com/golang/tools/compare/v0.7.0...v0.8.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].