mirror of
https://github.com/golang/go
synced 2024-11-06 01:46:12 -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>
3 lines
27 B
Go
3 lines
27 B
Go
package pkg
|
|
|
|
const Test = 1 |