mirror of
https://github.com/golang/go
synced 2024-11-19 04:54:41 -07:00
6fdc5776f4
This change adds quick fixes for diagnostics in .go files, specifically for diagnostics that deal with imported packages that are not declared in the go.mod file. These quick fixes will automatically add the dependency in the go.mod file and format the file if there are any issues. Updates golang/go#31999 Change-Id: Iab151ce96194fae4b1995859aec416c5473da6e3 Reviewed-on: https://go-review.googlesource.com/c/tools/+/215898 Run-TryBot: Rohan Challa <rohan@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
8 lines
96 B
Plaintext
8 lines
96 B
Plaintext
-- suggestedfix_main_5_2 --
|
|
module missingdep
|
|
|
|
go 1.12
|
|
|
|
require example.com/extramodule v1.0.0
|
|
|