tools/internal
Tim King 3b6876f0e6 internal/versions: add a new versions package
Adds a new versions package to provide x/tools a way to
deal with new GoVersion() and FileVersions API from go/types
and the new go/version standard library.

This provides a stable API until 1.26.

Updates golang/go#63374
Updates golang/go#62605

Change-Id: I4de54df00ea0f4363c0383cbdc917186277bfd0a
Reviewed-on: https://go-review.googlesource.com/c/tools/+/533056
Run-TryBot: Tim King <taking@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-11-10 18:46:13 +00:00
..
analysisinternal gopls/internal/regtest/marker: port half of the suggestedfix markers 2023-11-03 15:49:45 +00:00
apidiff tools: replace references to obsolete package ioutils 2023-09-12 20:13:37 +00:00
astutil gopls/internal/lsp: add code actions to remove unused parameters 2023-10-16 14:27:29 +00:00
bisect cmd/bisect, internal/bisect: use more precise skip suffixes, written in hex 2023-05-11 03:57:30 +00:00
cmd/deadcode internal/cmd/deadcode: discard empty Packages from result 2023-11-09 19:08:37 +00:00
compat all: get tests passing with 1.18 and 1.19 2023-09-11 19:46:14 +00:00
constraints internal/persistent: use generics 2023-09-01 18:12:00 +00:00
diff gopls/internal/regtest/marker: port half of the suggestedfix markers 2023-11-03 15:49:45 +00:00
diffp internal/diffp: add patience diff from main repo 2023-05-05 00:46:00 +00:00
edit internal/edit: copy cmd/internal/edit 2023-07-31 12:54:44 +00:00
event tools: replace references to obsolete package ioutils 2023-09-12 20:13:37 +00:00
facts go/types/objectpath: remove method sorting 2023-10-11 21:02:24 +00:00
fakenet
fuzzy internal/fuzzy: several improvements for symbol matching 2023-10-04 21:13:20 +00:00
gcimporter tools: clean up after removing all references to ioutil 2023-09-18 16:47:49 +00:00
gocommand all: replace all usages of golang.org/x/sys/execabs with os/exec 2023-11-09 20:10:26 +00:00
gopathwalk internal/gopathwalk: check ignored directories lexically 2023-10-30 20:37:15 +00:00
goroot
imports tools: clean up after removing all references to ioutil 2023-09-18 16:47:49 +00:00
jsonrpc2 all: fix non-gopls short tests on js/wasm and update for wasip1/wasm 2023-04-20 14:27:21 +00:00
jsonrpc2_v2 all: remove repetitive words 2023-07-19 19:13:53 +00:00
memoize
packagesinternal internal/packagesinternal: delete GoCmdRunner var (unused) 2023-11-08 22:30:59 +00:00
persistent gopls/internal/lsp/cache: simplify tracking of snapshot directories 2023-09-05 21:59:27 +00:00
pkgbits
pprof internal/pprof: a function to compute total pprof time 2023-07-06 20:34:16 +00:00
proxydir tools: replace references to obsolete package ioutils 2023-09-12 20:13:37 +00:00
refactor/inline internal/refactor/inline: avoid redundant import names added by inlining 2023-10-23 14:08:49 +00:00
robustio tools: replace references to obsolete package ioutils 2023-09-12 20:13:37 +00:00
stack
testenv all: replace all usages of golang.org/x/sys/execabs with os/exec 2023-11-09 20:10:26 +00:00
tokeninternal gopls/internal/lsp/cache: hold on to imports used by open packages 2023-03-24 15:12:23 +00:00
tool gopls/internal/lsp/cmd: consolidate editing flags 2023-09-01 13:22:27 +00:00
typeparams all: gofmt format 2023-08-18 01:26:51 +00:00
typesinternal go/types/objectpath: remove method sorting 2023-10-11 21:02:24 +00:00
versions internal/versions: add a new versions package 2023-11-10 18:46:13 +00:00
xcontext