mirror of
https://github.com/golang/go
synced 2024-11-19 00:24:41 -07:00
0043dadf92
This change uses the wonderful functions from x/mod to get the proper edits for the quick fixes on a go.mod diagnostic. It also creates a goModData structure to hold the data thats gets passed into the various parse functions, this will help reduce the large function prototypes that can occur when we decompose the logic. It also refactors the Modfiles() function to return span.URIs vs FileHandles. Change-Id: Ifa0896442650f2ddbd8fe98d8f231a9e94c3d042 Reviewed-on: https://go-review.googlesource.com/c/tools/+/215097 Run-TryBot: Rohan Challa <rohan@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
go.mod | ||
go.mod.golden | ||
go.sum | ||
main.go |