⬆️ Bump golang.org/x/tools from 0.3.0 to 0.4.0 in /src (#1713)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.3.0 to 0.4.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.4.0</h2> <ul> <li>Improved support for working with modules (<a href="https://github.com/ridersofrohan"><code>@ridersofrohan</code></a>). A detailed walk-through of the new features can be found <a href="https://www.ardanlabs.com/blog/2020/04/modules-05-gopls-improvements.html">here</a>. A quick summary: <ul> <li>Use the <code>-modfile</code> flag to suggest which modules should be added/removed from the <code>go.mod</code> file, rather than editing it automatically.</li> <li>Suggest dependency upgrades in-editor and provide additional language features, such as formatting, for the <code>go.mod</code> file.</li> </ul> </li> <li>Inverse implementations (<a href="https://github.com/muirdm"><code>@muirdm</code></a>). "Go to implementations" on a concrete type will show the interfaces it implements.</li> <li>Completion improvements (<a href="https://github.com/muirdm"><code>@muirdm</code></a>). Specifically, improved completion for keywords. Also, offer <code>if err != nil { return err }</code> as a completion item.</li> <li>Jumping to definition on an import statement returns all files as definition locations (<a href="https://github.com/danishprakash"><code>@danishprakash</code></a>).</li> <li>Support for running <code>go generate</code> through the editor, via a code lens (<a href="https://github.com/marwan-at-work"><code>@marwan-at-work</code></a>).</li> <li>Command-line support for workspace symbols (<a href="https://github.com/daisuzu"><code>@daisuzu</code></a>).</li> </ul> <h4>Opt-in:</h4> <ul> <li>Code actions suggesting <code>gofmt -s</code>-style simplifications (<a href="https://github.com/ridersofrohan"><code>@ridersofrohan</code></a>). To get these on-save, add the following setting:</li> </ul> <pre lang="js"><code>"[go]": { "editor.codeActionsOnSave": { "source.fixAll": true, } } </code></pre> <ul> <li>Code actions suggesting fixes for type errors, such as missing return values (<a href="https://github.com/sqs/goreturns">goreturns</a>-style), undeclared names, unused parameters, and assignment statements that should be converted from <code>:=</code> to <code>=</code> (<a href="https://github.com/ridersofrohan"><code>@ridersofrohan</code></a>). Add the following to your gopls settings to opt-in to these analyzers. In the future, they will be on by default and high-confidence suggested fixes may be applied on save. See additional documentation on analyzers <a href="https://cs.opensource.google/go/tools/+/master:gopls/doc/analyzers.md">here</a>.</li> </ul> <pre lang="json5"><code>"gopls": { "analyses": { "fillreturns": true, "undeclaredname": true, "unusedparams": true, "nonewvars": true, } } </code></pre> <ul> <li>Further improvements in the support for multiple concurrent clients (<a href="https://github.com/findleyr"><code>@findleyr</code></a>). See <a href="https://github-redirect.dependabot.com/golang/tools/issues/34111">#34111</a> for all details.</li> </ul> <p>For a complete list of the issues resolved, see the <a href="https://github.com/golang/go/milestone/133?closed=1">gopls/v0.4.0 milestone</a>.</p> <h2>gopls/v0.3.4</h2> <ul> <li><a href="https://golang.org/cl/222979">golang.org/cl/222979</a>: fix for a nil pointer exception in completion (<a href="https://github.com/muirdm"><code>@muirdm</code></a>).</li> <li><a href="https://golang.org/cl/222980">golang.org/cl/222980</a>: fix a concurrent map write and iteration (<a href="https://github.com/ridersofrohan"><code>@ridersofrohan</code></a>).</li> </ul> <h2>gopls/v0.3.3</h2> <ul> <li>Support for workspace symbols. (<a href="https://github.com/daisuzu"><code>@daisuzu</code></a>)</li> <li>Various completion improvements, including fixes for completion in code that doesn't parse. (<a href="https://github.com/muirdm"><code>@muirdm</code></a>)</li> <li>Limit diagnostic concurrency, preventing huge spikes in memory usage that some users encountered. (<a href="https://github.com/heschik"><code>@heschik</code></a>)</li> <li>Improved handling for URIs containing escaped characters. (<a href="https://github.com/heschik"><code>@heschik</code></a>)</li> <li>Module versions from "go list" in pkg.go.dev links. (<a href="https://github.com/ridersofrohan"><code>@ridersofrohan</code></a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="aee3994bd5"><code>aee3994</code></a> gopls/internal/lsp/fake: in (*Workdir).RenameFile, fall back to read + write</li> <li><a href="fe60148df7"><code>fe60148</code></a> go.mod: update golang.org/x dependencies</li> <li><a href="c9ea9a72c5"><code>c9ea9a7</code></a> gopls/internal/regtest: add a test for the case when the renaming package's p...</li> <li><a href="bf5db81001"><code>bf5db81</code></a> gopls/internal/lsp/cache: improve ad-hoc warning for nested modules</li> <li><a href="aa9f4b2f3d"><code>aa9f4b2</code></a> go/analysis: document that facts are gob encoded in one gulp</li> <li><a href="bdcd082252"><code>bdcd082</code></a> internal/gcimporter: skip tests earlier when 'go build' is not available</li> <li><a href="2ad6325d90"><code>2ad6325</code></a> gopls/internal/lsp/cache: expand ImportPath!=PackagePath comment</li> <li><a href="52c7b88fe8"><code>52c7b88</code></a> gopls/internal/robustio: only define ERROR_SHARING_VIOLATION on Windows</li> <li><a href="4f69bf3eb3"><code>4f69bf3</code></a> gopls/internal/lsp/cache: narrow reloadOrphanedFiles to open files</li> <li><a href="6002d6ea51"><code>6002d6e</code></a> gopls/internal/regtest/misc: test Implementations + vendor</li> <li>Additional commits viewable in <a href="https://github.com/golang/tools/compare/v0.3.0...v0.4.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR 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>
This commit is contained in:
parent
b50b3c2391
commit
24f60af404
@ -25,7 +25,7 @@ require (
|
||||
github.com/tomlazar/table v0.1.2
|
||||
github.com/vbauerster/mpb/v8 v8.1.4
|
||||
go.uber.org/zap v1.24.0
|
||||
golang.org/x/tools v0.3.0
|
||||
golang.org/x/tools v0.4.0
|
||||
gopkg.in/resty.v1 v1.12.0
|
||||
)
|
||||
|
||||
@ -109,10 +109,10 @@ require (
|
||||
go.uber.org/multierr v1.8.0 // indirect
|
||||
golang.org/x/crypto v0.1.0 // indirect
|
||||
golang.org/x/mod v0.7.0 // indirect
|
||||
golang.org/x/net v0.2.0 // indirect
|
||||
golang.org/x/net v0.3.0 // indirect
|
||||
golang.org/x/sync v0.1.0 // indirect
|
||||
golang.org/x/sys v0.2.0 // indirect
|
||||
golang.org/x/text v0.4.0 // indirect
|
||||
golang.org/x/sys v0.3.0 // indirect
|
||||
golang.org/x/text v0.5.0 // indirect
|
||||
google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e // indirect
|
||||
google.golang.org/grpc v1.50.1 // indirect
|
||||
google.golang.org/protobuf v1.28.1 // indirect
|
||||
|
||||
15
src/go.sum
15
src/go.sum
@ -510,8 +510,8 @@ golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su
|
||||
golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
|
||||
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
|
||||
golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco=
|
||||
golang.org/x/net v0.2.0 h1:sZfSu1wtKLGlWI4ZZayP0ck9Y73K1ynO6gqzTdBVdPU=
|
||||
golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY=
|
||||
golang.org/x/net v0.3.0 h1:VWL6FNY2bEEmsGVKabSlHu5Irp34xmMRoqb/9lF9lxk=
|
||||
golang.org/x/net v0.3.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE=
|
||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||
@ -592,8 +592,8 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc
|
||||
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.2.0 h1:ljd4t30dBnAvMZaQCevtY0xLLD0A+bRZXbgLMLU1F/A=
|
||||
golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.3.0 h1:w8ZOecv6NaNa/zC8944JTU3vz4u6Lagfk4RPQxv92NQ=
|
||||
golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||
golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||
@ -605,8 +605,9 @@ golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||
golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
|
||||
golang.org/x/text v0.4.0 h1:BrVqGRd7+k1DiOgtnFvAkoQEWQvBc25ouMJM6429SFg=
|
||||
golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
|
||||
golang.org/x/text v0.5.0 h1:OLmvp0KP+FVG99Ct/qFiL/Fhk4zp4QQnZ7b2U+5piUM=
|
||||
golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
|
||||
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
@ -658,8 +659,8 @@ golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4f
|
||||
golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
|
||||
golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
|
||||
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
|
||||
golang.org/x/tools v0.3.0 h1:SrNbZl6ECOS1qFzgTdQfWXZM9XBkiA6tkFrH9YSTPHM=
|
||||
golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k=
|
||||
golang.org/x/tools v0.4.0 h1:7mTAgkunk3fr4GAloyyCasadO6h9zSsQZbwvcaIciV4=
|
||||
golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ=
|
||||
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user